home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d7 / boyan5b.arc / BOYAN.DOC < prev    next >
Text File  |  1991-05-28  |  401KB  |  8,733 lines

  1.  
  2.  
  3.  
  4.     =========== BOYAN Registration Form ============ Version 5.0 ===========
  5.  
  6.          Phone orders:                             BBS orders:
  7.            (301)-805-7168                            (301)-730-2917
  8.     ------------------------------------------------------------------------
  9.     Remit to:
  10.                                   Justin Boyan
  11.                               BOYAN COMMUNICATIONS
  12.                                   P.O. Box 71
  13.                               Woodstock, MD  21163
  14.  
  15.     ------------------------------------------------------------------------
  16.     Please send:
  17.  
  18.     _____  BOYAN registration . . . . . . . . . . . . .ea $40.00 = $ _______
  19.  
  20.     _____  BOYAN registration & 5.25" disks . . . . . .ea $60.00 = $ _______
  21.              (includes two floppy disks, program, manual, and Quick Ref card)
  22.  
  23.     _____  BOYAN registration & 3.5" disk . . . . . . .ea $60.00 = $ _______
  24.              (includes one 720K disk, program, manual, and Quick Ref card)
  25.  
  26.  
  27.                                                         Subtotal = $ _______
  28.  
  29.  
  30.            Please add 15% if check is not U.S. currency . . . . .  $ _______
  31.  
  32.            Shipping and handling  . . . . . . . . . . . included = $    0.00
  33.  
  34.                                                            Total = $ _______
  35.  
  36.     ------------------------------------------------------------------------
  37.     Check enclosed [ ]         OR    Mastercard [ ]  VISA [ ]
  38.  
  39.            Card Number ____________________________ Expiration date ________ 
  40.     ------------------------------------------------------------------------
  41.  
  42.     Name:    _______________________________________________________________
  43.  
  44.     Company: _______________________________________________________________
  45.  
  46.     Address: _______________________________________________________________
  47.  
  48.              _______________________________________________________________
  49.  
  50.  
  51.     ========================================================================
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.                                                   BOYAN Communications
  70.  
  71.                                                              Version 5
  72.  
  73.                                            Professional User-Supported
  74.                                                Communications Software
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.                                                          USER'S MANUAL
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.                                      Copyright (C) 1986,1987,1989,1991
  89.  
  90.                                                   BOYAN Communications
  91.                                                            P.O. Box 71
  92.                                                   Woodstock, MD  21163
  93.  
  94.                                           Phone orders: (301)-805-7168
  95.  
  96.                                            Support BBS: (301)-730-2917
  97.                                                RIME Network Forum #118
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.                                 SPECIAL THANKS
  113.  
  114.                                 Bonnie Anthony
  115.                                  Ed Bachmann
  116.                              Kitty & Steve Boyan
  117.                                  Lee Breeden
  118.                                 Bruce Felstein
  119.                                   Lyle Giuse
  120.                                   Jim Luhman
  121.                                  Kelly McGraw
  122.                                   John Navas
  123.                                   Jim Provan
  124.                                 Kent Stromsmoe
  125.                                 Dennis Tuchler
  126.                                  Tom Vervaeke
  127.                                  Erik Winfree
  128.                                        
  129.                                        
  130.                          Cover artwork by Jeff Hesser
  131.  
  132.                                        
  133.                                        
  134.                                        
  135.                                        
  136.                                        
  137.                                        
  138.                                        
  139.  
  140.                                        
  141.                                        
  142.                                        
  143.  
  144.                        All brand and product names are
  145.                      trademarks or registered trademarks
  146.                          of their respective holders.
  147.  
  148.                      Copyright (C) 1986-91, Justin Boyan
  149.                              All rights reserved
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.                                      ii
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.                                 Contents
  176.  
  177.  
  178.  
  179.         Chapter 1  Introduction                                      1
  180.           1.1  What Makes BOYAN Special? . . . . . . . . . . . . . . 1
  181.             1.1.1  Flexibility . . . . . . . . . . . . . . . . . . . 1
  182.             1.1.2  Features  . . . . . . . . . . . . . . . . . . . . 2
  183.             1.1.3  Ease of Use . . . . . . . . . . . . . . . . . . . 3
  184.           1.2  Licensing Agreement . . . . . . . . . . . . . . . . . 4
  185.             1.2.1  How to Order  . . . . . . . . . . . . . . . . . . 5
  186.               1.2.1.1  Order by Mail . . . . . . . . . . . . . . . . 5
  187.               1.2.1.2  Order by Phone  . . . . . . . . . . . . . . . 5
  188.               1.2.1.3  Order by BBS  . . . . . . . . . . . . . . . . 5
  189.             1.2.2  Corporate Licenses  . . . . . . . . . . . . . . . 5
  190.             1.2.3  Distribution of BOYAN . . . . . . . . . . . . . . 6
  191.           1.3  Support for Registered Users  . . . . . . . . . . . . 7
  192.           1.4  Disclaimer  . . . . . . . . . . . . . . . . . . . . . 7
  193.           1.5  Using This Manual . . . . . . . . . . . . . . . . . . 7
  194.  
  195.         Chapter 2  Getting Started with BOYAN                        9
  196.           2.1  System Requirements . . . . . . . . . . . . . . . . . 9
  197.           2.2  Setting BOYAN Up On Disk  . . . . . . . . . . . . . . 9
  198.             2.2.1  Files Included with BOYAN . . . . . . . . . . .  10
  199.           2.3  Running BOYAN for the First Time  . . . . . . . . .  11
  200.             2.3.1  Running BOYAN . . . . . . . . . . . . . . . . .  11
  201.             2.3.2  First-time Modem Setup  . . . . . . . . . . . .  11
  202.             2.3.3  BOYAN under Microsoft Windows . . . . . . . . .  12
  203.             2.3.4  BOYAN under DesqView  . . . . . . . . . . . . .  12
  204.           2.4  The World of BOYAN  . . . . . . . . . . . . . . . .  12
  205.             2.4.1  The Status Line . . . . . . . . . . . . . . . .  12
  206.             2.4.2  <Esc> = Go Back . . . . . . . . . . . . . . . .  13
  207.             2.4.3  The Help System . . . . . . . . . . . . . . . .  13
  208.             2.4.4  Using a Mouse . . . . . . . . . . . . . . . . .  13
  209.             2.4.5  The Line Editor . . . . . . . . . . . . . . . .  14
  210.  
  211.         Chapter 3  <Alt-C> Customizing BOYAN                        16
  212.           3.1  Configuring a Non-Hayes-Compatible Modem  . . . . .  17
  213.           3.2  Configuring a Nonstandard Comm Device . . . . . . .  17
  214.           3.3  Configuring a Two-Floppy System . . . . . . . . . .  18
  215.           3.4  Configuring a High-Speed Modem  . . . . . . . . . .  18
  216.           3.5  Config Area <S> -- Screen, Sound, Memory  . . . . .  19
  217.           3.6  Config Area <D> -- Disk and File Setup  . . . . . .  21
  218.  
  219.  
  220.  
  221.                                      iii
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.           3.7  Config Area <C> -- Communications options . . . . .  24
  232.           3.8  Config Area <E> -- Expert Communications Options  .  26
  233.           3.9  Config Area <M> -- Macros . . . . . . . . . . . . .  28
  234.             3.9.1  Basic Macro Commands  . . . . . . . . . . . . .  28
  235.             3.9.2  The 120 BOYAN Macros  . . . . . . . . . . . . .  29
  236.             3.9.3  Modem Dialing & Auto-macros . . . . . . . . . .  30
  237.             3.9.4  <Alt-K> Function Key Customization  . . . . . .  32
  238.           3.10  Config Area <A> -- BOYAN Action Modules  . . . . .  33
  239.             3.10.1  BAM Selection  . . . . . . . . . . . . . . . .  33
  240.             3.10.2  Terminal Emulation Configuration . . . . . . .  34
  241.             3.10.3  Host Mode Configuration  . . . . . . . . . . .  34
  242.           3.11  Config Area <T> -- Translation/filter table  . . .  35
  243.           3.12  Config Area <X> -- External File Transfer
  244.                 Protocols  . . . . . . . . . . . . . . . . . . . .  36
  245.             3.12.1  Auto-downloading . . . . . . . . . . . . . . .  38
  246.  
  247.         Chapter 4  BOYAN Command Capabilities                       39
  248.           4.1  Basic Commands  . . . . . . . . . . . . . . . . . .  39
  249.             4.1.1  <F1> Help Menu  . . . . . . . . . . . . . . . .  39
  250.             4.1.2  <Alt-F1> Function Key Menu  . . . . . . . . . .  39
  251.             4.1.3  <Alt-B> Beeps & Bells Toggle  . . . . . . . . .  40
  252.             4.1.4  <Alt-E> Echo Keyboard Toggle  . . . . . . . . .  40
  253.             4.1.5  <Alt-G> 43/50-Line Mode . . . . . . . . . . . .  40
  254.             4.1.6  <Alt-O> Restore Default Text Color  . . . . . .  40
  255.             4.1.7  <Alt-T> Translation Table Toggle  . . . . . . .  40
  256.             4.1.8  <Alt-X> Exit BOYAN  . . . . . . . . . . . . . .  40
  257.             4.1.9  <Alt-Z> Zap (Clear) Screen  . . . . . . . . . .  41
  258.             4.1.10  <Shift-Tab> Add Linefeeds Toggle . . . . . . .  41
  259.           4.2  Modem Commands  . . . . . . . . . . . . . . . . . .  41
  260.             4.2.1  <Alt-D> Dial a System . . . . . . . . . . . . .  41
  261.               4.2.1.1  Manual Dialing  . . . . . . . . . . . . . .  41
  262.               4.2.1.2  Code Number Dialing . . . . . . . . . . . .  42
  263.               4.2.1.3  After Dialing . . . . . . . . . . . . . . .  42
  264.               4.2.1.4  Dialing Directory Options . . . . . . . . .  43
  265.               4.2.1.5  Long-Distance Dialing Prefixes  . . . . . .  48
  266.               4.2.1.6  Uniform Dialing Prefixes  . . . . . . . . .  48
  267.               4.2.1.7  Disable Call Waiting  . . . . . . . . . . .  49
  268.             4.2.2  <Alt-H> Hang Up Modem . . . . . . . . . . . . .  49
  269.             4.2.3  <Alt-P> Parameter Change  . . . . . . . . . . .  49
  270.             4.2.4  <Alt-Q> Queue Redialing . . . . . . . . . . . .  50
  271.             4.2.5  <Ctrl-End> Send Modem Break Signal  . . . . . .  52
  272.             4.2.6  <Del> Send DEL character  . . . . . . . . . . .  52
  273.           4.3  BOYAN Action Modules  . . . . . . . . . . . . . . .  52
  274.             4.3.1  <Alt-A> Activate new Action Module  . . . . . .  52
  275.             4.3.2  <Alt-Equals> Previous Action Module . . . . . .  52
  276.             4.3.3  <Scroll-Lock> Switch Between BOYAN/Terminal
  277.                    Keysets . . . . . . . . . . . . . . . . . . . .  53
  278.             4.3.4  Action Module Descriptions  . . . . . . . . . .  53
  279.  
  280.  
  281.  
  282.  
  283.                                      iv
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.               4.3.4.1  ADM-3A, IBM-3101, TVI-925, and VT-52
  294.                        Emulations  . . . . . . . . . . . . . . . .  53
  295.               4.3.4.2  ANSI-BBS Emulation  . . . . . . . . . . . .  53
  296.               4.3.4.3  CONTROL Action Module . . . . . . . . . . .  53
  297.               4.3.4.4  DOORWAY Module  . . . . . . . . . . . . . .  54
  298.               4.3.4.5  DUMBTERM (Dumb Terminal)  . . . . . . . . .  54
  299.               4.3.4.6  GOSSIP Mode . . . . . . . . . . . . . . . .  54
  300.               4.3.4.7  HOST Action Module  . . . . . . . . . . . .  54
  301.               4.3.4.8  VT-100 Emulation  . . . . . . . . . . . . .  54
  302.           4.4  BOYAN File Transfers  . . . . . . . . . . . . . . .  55
  303.             4.4.1  Internal Protocols  . . . . . . . . . . . . . .  55
  304.             4.4.2  External Protocols  . . . . . . . . . . . . . .  56
  305.             4.4.3  Auto-Find Filename Feature  . . . . . . . . . .  57
  306.             4.4.4  <PgUp> Upload File  . . . . . . . . . . . . . .  58
  307.             4.4.5  Uploading a Message . . . . . . . . . . . . . .  58
  308.             4.4.6  <PgDn> Download File  . . . . . . . . . . . . .  59
  309.           4.5  Session Logging . . . . . . . . . . . . . . . . . .  60
  310.             4.5.1  <Alt-L> Log to Disk Toggle  . . . . . . . . . .  60
  311.             4.5.2  <Alt-S> Save Screen Image to Disk . . . . . . .  60
  312.             4.5.3  <Alt-U> Toggle BOYAN.USE Usage Log File . . . .  61
  313.             4.5.4  <Ctrl-PrtSc> Printer Log Toggle . . . . . . . .  61
  314.             4.5.5  <Shift-PrtSc> Save Screen Image to Printer  . .  61
  315.           4.6  DOS and File Commands . . . . . . . . . . . . . . .  61
  316.             4.6.1  <Alt-F> The File Manager  . . . . . . . . . . .  61
  317.             4.6.2  <Alt-J> Jump to DOS . . . . . . . . . . . . . .  64
  318.             4.6.3  <Alt-N> New Default Drive/Directory . . . . . .  65
  319.             4.6.4  <Alt-V> View File . . . . . . . . . . . . . . .  65
  320.             4.6.5  <Alt-W> Word Process (Edit) File  . . . . . . .  65
  321.             4.6.6  <Alt-Y> Free Space on Disk  . . . . . . . . . .  65
  322.             4.6.7  <Ins> Issue DOS Command . . . . . . . . . . . .  65
  323.           4.7  Scroll-Back Buffer, Scripts, etc. . . . . . . . . .  66
  324.             4.7.1  <Alt-R> Run Script File . . . . . . . . . . . .  66
  325.             4.7.2  <UpArrow> Scroll-Back Buffer  . . . . . . . . .  66
  326.             4.7.3  Script Learn Facility . . . . . . . . . . . . .  68
  327.               4.7.3.1  Example: Auto-Logon Scripts . . . . . . . .  68
  328.               4.7.3.2  Password Security Feature . . . . . . . . .  70
  329.               4.7.3.3  Details on Script Learning  . . . . . . . .  70
  330.             4.7.4  <Alt-M> Enter Macro Manually  . . . . . . . . .  71
  331.           4.8  BOYAN's Host Mode . . . . . . . . . . . . . . . . .  71
  332.             4.8.1  Preliminaries . . . . . . . . . . . . . . . . .  72
  333.             4.8.2  <Alt-I> Invoking Host Mode  . . . . . . . . . .  73
  334.             4.8.3  Using the Host  . . . . . . . . . . . . . . . .  73
  335.             4.8.4  Host User Command Menu  . . . . . . . . . . . .  74
  336.             4.8.5  Local Sysop Menu  . . . . . . . . . . . . . . .  75
  337.             4.8.6  Customizing HOST.BSC  . . . . . . . . . . . . .  77
  338.           4.9  BOYAN's Backspace Editor  . . . . . . . . . . . . .  78
  339.             4.9.1  <Backspace> Erase Previous Character  . . . . .  78
  340.             4.9.2  <LeftArrow> Forget Previous Character . . . . .  78
  341.             4.9.3  <Ctrl-Backspace> Erase Previous Word  . . . . .  78
  342.  
  343.  
  344.  
  345.                                       v
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.             4.9.4  <Ctrl-LeftArrow> Forget Previous Word . . . . .  78
  356.             4.9.5  <RightArrow> Un-erase Character . . . . . . . .  78
  357.             4.9.6  <Ctrl-RightArrow> Un-erase Word . . . . . . . .  78
  358.             4.9.7  Using the Backspace Editor  . . . . . . . . . .  78
  359.  
  360.         Chapter 5  BOYAN Power--Macros and Script Files             80
  361.           5.1  Overview  . . . . . . . . . . . . . . . . . . . . .  80
  362.           5.2  The Macro Programming Language  . . . . . . . . . .  80
  363.             5.2.1  String Output . . . . . . . . . . . . . . . . .  81
  364.             5.2.2  How to Read the Macro Definitions . . . . . . .  81
  365.               5.2.2.1  Conditional Macro Syntax  . . . . . . . . .  82
  366.             5.2.3  Modem Commands  . . . . . . . . . . . . . . . .  82
  367.             5.2.4  Terminal Characteristics  . . . . . . . . . . .  84
  368.             5.2.5  Backspace Buffer  . . . . . . . . . . . . . . .  85
  369.             5.2.6  Timing  . . . . . . . . . . . . . . . . . . . .  86
  370.             5.2.7  Handshaking . . . . . . . . . . . . . . . . . .  86
  371.             5.2.8  Dialing . . . . . . . . . . . . . . . . . . . .  88
  372.             5.2.9  Queue Redialing . . . . . . . . . . . . . . . .  89
  373.             5.2.10  Screen & Sound . . . . . . . . . . . . . . . .  90
  374.             5.2.11  Session Logging & Printing . . . . . . . . . .  93
  375.             5.2.12  DOS  . . . . . . . . . . . . . . . . . . . . .  94
  376.             5.2.13  File Transfers . . . . . . . . . . . . . . . .  96
  377.             5.2.14  User Variables . . . . . . . . . . . . . . . .  98
  378.             5.2.15  Macro Control  . . . . . . . . . . . . . . . . 100
  379.             5.2.16  Miscellaneous  . . . . . . . . . . . . . . . . 102
  380.             5.2.17  <Shift-F1> Trace Mode  . . . . . . . . . . . . 103
  381.           5.3  BOYAN Macro Tutorial, Examples  . . . . . . . . . . 104
  382.             5.3.1  Built-in Keystroke Examples . . . . . . . . . . 104
  383.             5.3.2  Auto-macro Examples . . . . . . . . . . . . . . 106
  384.             5.3.3  Yet More Key Examples!  . . . . . . . . . . . . 108
  385.           5.4  The BOYAN Command Line  . . . . . . . . . . . . . . 110
  386.           5.5  Script Files  . . . . . . . . . . . . . . . . . . . 111
  387.             5.5.1  Script-specific Macro Commands  . . . . . . . . 111
  388.             5.5.2  Automatic Logon Scripts . . . . . . . . . . . . 112
  389.             5.5.3  Running Script Files  . . . . . . . . . . . . . 113
  390.             5.5.4  During Script Execution . . . . . . . . . . . . 114
  391.             5.5.5  Script Examples . . . . . . . . . . . . . . . . 114
  392.             5.5.6  Technical Notes . . . . . . . . . . . . . . . . 115
  393.               5.5.6.1  The Macro Compiler  . . . . . . . . . . . . 115
  394.               5.5.6.2  Variable Prefixes: % vs. @  . . . . . . . . 116
  395.           5.6  Summary of Macro Variables  . . . . . . . . . . . . 117
  396.           5.7  Summary of Macro Commands . . . . . . . . . . . . . 120
  397.  
  398.         Appendix A  HELP!  Common Questions & Answers              133
  399.           A.1  Modem Questions . . . . . . . . . . . . . . . . . . 133
  400.           A.2  DOS Questions . . . . . . . . . . . . . . . . . . . 134
  401.           A.3  BAM Questions . . . . . . . . . . . . . . . . . . . 134
  402.           A.4  File Transfer Questions . . . . . . . . . . . . . . 135
  403.           A.5  Macro Questions . . . . . . . . . . . . . . . . . . 136
  404.  
  405.  
  406.  
  407.                                      vi
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.           A.6  Miscellaneous . . . . . . . . . . . . . . . . . . . 136
  418.  
  419.         Appendix B  BOYAN Error Messages                           137
  420.  
  421.         Appendix C  Glossary of BOYAN Terms                        138
  422.  
  423.         Appendix D  The VT-100 Secondary Keyset                    140
  424.           D.1  Default Key Layout  . . . . . . . . . . . . . . . . 140
  425.           D.2  Customization . . . . . . . . . . . . . . . . . . . 141
  426.  
  427.         Index                                                      143
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.                                      vii
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.                                   Chapter 1
  487.  
  488.                                  Introduction
  489.  
  490.  
  491.    1.1  What Makes BOYAN Special?
  492.  
  493.  
  494.    When BOYAN  Communications  was  first  released  in  1986, it set a new
  495.    standard  for  PC  communications software.   Now  in  its  fifth  major
  496.    revision, BOYAN perfects the features that made it famous:
  497.  
  498.     - A clean, consistent, and friendly interface.  One user compared using
  499.       BOYAN to driving a luxury sports car.
  500.  
  501.     - Innovative, powerful features.  PC Magazine once wondered "why nobody
  502.       else thought of them."
  503.  
  504.     - Above all, a philosophy:    if something is boring, then the computer
  505.       should do  it  for  you.   Once you try BOYAN 5... there's no looking
  506.       back!
  507.  
  508.    1.1.1  Flexibility
  509.  
  510.     - BOYAN supports interrupt-driven  communications with all serial ports
  511.       and modems, at speeds from 300 to 38,400  baud.    Both  hardware and
  512.       software  flow  control  are  supported  for  high-speed  modems  and
  513.       networking.
  514.  
  515.     - BOYAN  Action  Modules  allow  BOYAN  to  emulate  popular terminals,
  516.       including  VT-100,  VT-52,  TVI-925,  IBM-3101, ADM-3A, and ANSI-BBS.
  517.       Terminal emulations  use  their  own  "secondary"  keysets  which can
  518.       easily be customized.  Further emulations, as they are developed, can
  519.       be easily installed into BOYAN 5.
  520.  
  521.     - Speedy, reliable file transfers use a wide variety  of  common error-
  522.       checking protocols, including Xmodem, CRC-Xmodem,  Ymodem, 1K-Xmodem,
  523.       Ymodem-G,  1K-Xmodem-G,  ASCII,  Kermit,  Ymodem-batch,  and  Zmodem.
  524.       Additional  protocols  can  easily  be  integrated  into  BOYAN, too.
  525.       Hands-free "auto-downloading"  is  provided  for  any  protocol  that
  526.       supports it, including Zmodem, Bimodem, and MPt.
  527.  
  528.  
  529.  
  530.    1.1.1:  Introduction                                                   2
  531.    ________________________________________________________________________
  532.  
  533.  
  534.  
  535.  
  536.     - An extensive macro language with  over 300 commands and variables can
  537.       automate all your communication needs:
  538.  
  539.        * All  of BOYAN's command keys are  user-definable;  thus,  you  can
  540.          customize BOYAN's keyboard layout to exactly your own preferences.
  541.          (See section 5.3 for many useful examples.)
  542.  
  543.        * Auto-macros  give  you  total control over what  BOYAN  does  when
  544.          initializing, dialing, connecting, or hanging up your modem.
  545.  
  546.        * Shortcut  macros allow common passwords and long-distance  dialing
  547.          prefixes to be stored and used easily.
  548.  
  549.        * BOYAN  script  files can run  communications  sessions  completely
  550.          unattended,   supporting:     handshaking,   timing,   conditional
  551.          execution, block nesting, macro nesting, and much more.
  552.  
  553.        * BOYAN's Script Learn feature remembers what you type at all times.
  554.          After a session,  BOYAN  can  walk  you through what you typed and
  555.          build an automatic script file for  you.   You may edit the script
  556.          before  it  is  saved, so that your next session on that system is
  557.          hands-free!
  558.  
  559.        * Sample  script files are provided for  streamlining  your  use  of
  560.          CompuServe and common Bulletin Board Systems.
  561.  
  562.        * A simple "trace mode" helps you follow even the most sophisticated
  563.          macros and scripts.
  564.  
  565.     - BOYAN provides a Host Mode  which  allows  you  to  dial  in  to your
  566.       computer  from a remote system, read and  write  messages,  send  and
  567.       receive files, and run programs  remotely.  A built-in database holds
  568.       the name, password, and user level for up to 70 users.   Furthermore,
  569.       since  the  Host  Mode  is  written  as  a BOYAN script, it is  fully
  570.       customizable.
  571.  
  572.    1.1.2  Features
  573.  
  574.     - With BOYAN's famous automatic filename entry feature, you never again
  575.       have to type a filename twice before downloading a file.
  576.  
  577.     - BOYAN saves you time and money by allowing you to upload messages you
  578.       have prepared off-line.  Exclusive:  BOYAN determines the line prompt
  579.       character and handles awkward "word wraps."
  580.  
  581.     - A usage  log  records  the  length  of  all modem connections and the
  582.       efficiency of all file  transfers  for later reference.  This log can
  583.       verify your phone records, for example.
  584.  
  585.  
  586.  
  587.    1.1.2:  Introduction                                                   3
  588.    ________________________________________________________________________
  589.  
  590.  
  591.  
  592.  
  593.     - BOYAN works with DOS at all times:
  594.  
  595.        * Issuing any DOS command, running  any  program,  and  entering DOS
  596.          temporarily are possible during a communication session.
  597.  
  598.        * BOYAN uses your favorite file lister and word processor/editor.
  599.  
  600.        * A full, built-in File Manager allows you to scan disk directories,
  601.          copying and viewing files at the touch of a key.  Select files for
  602.          uploading as well as  BOYAN  script  files  directly from the File
  603.          Manager listing.
  604.  
  605.     - Dialing  directories maintain the names, numbers, parameters,  Action
  606.       Module, logon script,  file  transfer  protocol,  password,  and last
  607.       connect date for all the systems you ever  need  to  dial.   Editing,
  608.       sorting, searching, and printing a directory can all  be  done within
  609.       BOYAN.    Phone  numbers  can  be  automatically  "grabbed" from  the
  610.       terminal screen, making it  easy  to  add  to your dialing directory.
  611.       Multiple dialing directories  allow  you to organize your phone lists
  612.       any way you want.
  613.  
  614.     - A 20-number dynamic redialing queue stores the numbers which you dial
  615.       but fail to connect.    If you wish, BOYAN automatically redials each
  616.       of  the numbers in turn, showing the status of each system in a full-
  617.       screen display.  Numbers may be  added  to and deleted from the queue
  618.       at any time.
  619.  
  620.     - A  scroll-back  buffer  stores  hundreds  of lines of text which  has
  621.       scrolled  off  the  top of the screen.  Within the  buffer,  you  can
  622.       locate  specific strings, mark passages to be  printed  or  filed  to
  623.       disk, and automatically move to the beginning of the current session.
  624.  
  625.     - A  Gossip  Action  Module splits the screen into "local" and "remote"
  626.       windows, allowing  clear  on-line  conversations  between  two  modem
  627.       users.
  628.  
  629.     - The Doorway Action Module makes it possible to  run  any non-graphics
  630.       program remotely, over the modem.
  631.  
  632.    1.1.3  Ease of Use
  633.  
  634.     - Context-sensitive help screens are  available  at  all times with the
  635.       <F1>  key.
  636.  
  637.     - "Back up" or cancel the current action anytime with the <Esc> key.
  638.  
  639.     - BOYAN offers full mouse support.
  640.  
  641.  
  642.  
  643.    1.1.3:  Introduction                                                   4
  644.    ________________________________________________________________________
  645.  
  646.  
  647.  
  648.  
  649.     - A status line  keeps  you informed of the currently-connected system,
  650.       the elapsed time of the call, and the script file in control.
  651.  
  652.     - BOYAN's Line Editor facilitates  entering  and  editing  responses to
  653.       BOYAN prompts.
  654.  
  655.     - With BOYAN's exclusive backspace editor, typing errors can be quickly
  656.       corrected without retyping any erased words.  You can delete by word,
  657.       not just character-by-character.  Text  can be inserted or deleted on
  658.       a line at any time.
  659.  
  660.     - Configurable filter tables, screen dumps, disk logging,  printer log-
  661.       ging, automatic modem speed-detection, break signal support, and many
  662.       other  options  make  BOYAN superior for any  kind  of  microcomputer
  663.       communications.
  664.  
  665.  
  666.    1.2  Licensing Agreement
  667.  
  668.  
  669.    BOYAN Communications is Copyright  (C)  1986-1991  by Justin Boyan, P.O.
  670.    Box 71, Woodstock, MD  21163.
  671.  
  672.    BOYAN  Communications  is  not  free  software.  BOYAN is made  publicly
  673.    available only to allow users to  preview  BOYAN  on a trial basis.  Any
  674.    use  of  BOYAN  beyond this limited purpose requires registration as de-
  675.    scribed  below.    Use of unregistered copies of BOYAN Communications by
  676.    any individual,  business,  corporation,  government  agency,  or  other
  677.    institution is prohibited.
  678.  
  679.    Registration  of BOYAN Communications entitles you to  use  BOYAN  on  a
  680.    regular basis.  By registering your copies of BOYAN:
  681.  
  682.     - You support the ShareWare concept of marketing, which  allows  you to
  683.       "try before you buy" and encourages lower prices for all software;
  684.  
  685.     - You receive written registration confirmation and a BOYAN User ID;
  686.  
  687.     - You receive a code  number  which modifies Boyan to bypass the "Press
  688.       <Enter> to continue" screen and other ShareWare messages;
  689.  
  690.     - You are entitled to priority support on the BOYAN Support BBS;
  691.  
  692.     - You are automatically registered  for  any  future releases of BOYAN,
  693.       and you will receive mailed announcements of major upgrades.
  694.  
  695.  
  696.  
  697.    1.2.1:  Introduction                                                   5
  698.    ________________________________________________________________________
  699.  
  700.  
  701.  
  702.  
  703.    1.2.1  How to Order
  704.  
  705.    The  complete  BOYAN package, including  registration,  typeset  manual,
  706.    convenient Quick Reference Card, and the latest version  on  your choice
  707.    of  5.25'' or 3.5'' diskettes costs only $60.00.  If you do not wish  to
  708.    receive  the  manual,  Quick  Reference  Card,  or  diskettes, then  the
  709.    registration charge is $40.00.    Terrific  site licensing discounts are
  710.    described below in section 1.2.2.
  711.  
  712.    All domestic orders will be shipped by UPS,  except  those  to  P.O. box
  713.    addresses, which will  be  shipped  at  book rate (4th class).  Overseas
  714.    orders will be shipped by air, small packet rate.
  715.  
  716.    1.2.1.1  Order by Mail
  717.  
  718.    To order  by  mail,  please  use the order form at the beginning of this
  719.    manual,  and  enclose  a  check  or  money  order  made  out  to  "Boyan
  720.    Communications".  If payment is not in U.S. currency, please add  15% to
  721.    cover conversion costs.
  722.  
  723.    1.2.1.2  Order by Phone
  724.  
  725.    To order by VISA or Mastercard, call the  BOYAN  order  line  anytime at
  726.    (301)-805-7168.
  727.  
  728.    1.2.1.3  Order by BBS
  729.  
  730.    You may also  order  directly  from  the  BOYAN  Support  Bulletin Board
  731.    System.   To do this, log on to the BOYAN Support BBS at (301)-730-2917.
  732.    When  you  reach  the main menu, simply enter the command REGISTER.  You
  733.    will  be  prompted  to type your  name,  address,  phone,  and  VISA  or
  734.    Mastercard number.  Your order will be filled as soon  as  we can verify
  735.    your credit card.
  736.  
  737.    1.2.2  Corporate Licenses
  738.  
  739.    A  registered copy of BOYAN may be used on only one computer at a  time;
  740.    it  may  not  be  copied  for use on multiple computers at a time.    To
  741.    encourage corporations to register  their  usage  of BOYAN ethically, we
  742.    offer  large  discounts  on  registration  of multiple copies.  Use  the
  743.    following chart to determine the licensing cost for your needs:
  744.                If you need...          Then registration costs:
  745.                1-6 copies                     $ 40 each
  746.                up to 15 copies                $250 flat fee
  747.                up to 50 copies                $500 flat fee
  748.                unlimited site license         $750 flat fee
  749.  
  750.  
  751.  
  752.    1.2.2:  Introduction                                                   6
  753.    ________________________________________________________________________
  754.  
  755.  
  756.  
  757.  
  758.     - An  institution wishing a site license  should  appoint  one  contact
  759.       person to handle BOYAN's registration, support questions,  and update
  760.       notices.
  761.  
  762.     - Any  site license (seven or more copies) entitles  you  to  a  custom
  763.       version of BOYAN with your company name on the welcome screen.
  764.  
  765.     - Two copies of the BOYAN package (User's Manual, Quick Reference card,
  766.       and disks) are included with any site license.    Additional packages
  767.       are available for the regular price of $20 each.
  768.  
  769.     - Corporate purchase orders will be accepted on any order of  $60.00 or
  770.       more.
  771.  
  772.    1.2.3  Distribution of BOYAN
  773.  
  774.    In  accordance with the ShareWare distribution  method,  all  users  are
  775.    granted permission to copy  BOYAN  Communications  for  the trial use of
  776.    others, providing the following conditions are met:
  777.  
  778.     - BOYAN must be  copied  in completely unmodified form, and distributed
  779.       together with the full  and  unmodified  documentation  and licensing
  780.       information.
  781.  
  782.     - You may not sell or trade BOYAN for  money  or  any  valuable consid-
  783.       eration,  except  for  a nominal charge for  postage,  handling,  and
  784.       materials.
  785.  
  786.     - BOYAN may not be distributed in conjunction with  any  other product,
  787.       hardware or software, without  the  express  written consent of BOYAN
  788.       Communications.
  789.  
  790.    Failure  to abide by this limited license by  sale  or  modification  of
  791.    BOYAN Communications is a violation of the U.S. Copyright Act.
  792.  
  793.    Electronic Bulletin Board Systems, Public  PC Users Groups and clubs may
  794.    add BOYAN to their ShareWare  libraries subject to the conditions above.
  795.    In addition, BOYAN Communications is offering a special  50%  User Group
  796.    discount on version 5 registrations.   Club librarians, please write for
  797.    further information!
  798.  
  799.    ShareWare distributors may add BOYAN Communications  to  their libraries
  800.    subject to the conditions above, only after writing for and receiving my
  801.    written  consent.    It must be  stated  prominently  that  1) BOYAN  is
  802.    ShareWare, 2) the disks you send are for evaluation use only, and 3) the
  803.    BOYAN registration fee of $40.00 is payable directly to the author.
  804.  
  805.  
  806.  
  807.    1.3:  Introduction                                                     7
  808.    ________________________________________________________________________
  809.  
  810.  
  811.  
  812.  
  813.    1.3  Support for Registered Users
  814.  
  815.  
  816.    BOYAN support is provided on  the international RIME network of Bulletin
  817.    Board Systems, in Forum #118.  The home BBS for this forum is located in
  818.    Columbia,  Maryland  at  (301)-730-2917.    This BBS will give you  full
  819.    access to  the  BOYAN  message  and file areas on your first call:  just
  820.    register  as a new user, proceed to the main menu, and enter the command
  821.    J BOYAN.  At that point, you may  use  the  E  command  to  enter  a new
  822.    message.    Support  questions should be addressed to "ALL" and "echoed"
  823.    throughout the network.    This  BBS  also offers the command RIME xxx--
  824.    where  xxx is your area code--to obtain a list of RIME network BBS'es in
  825.    your local area code which may carry the BOYAN forum.
  826.  
  827.    If you prefer, you may  mail questions directly to Boyan Communications,
  828.    P.O.  Box  71,  Woodstock,  MD    21163.   Please include your BOYAN  ID
  829.    registration number if you write for support.
  830.  
  831.  
  832.    1.4  Disclaimer
  833.  
  834.  
  835.    Justin Boyan and BOYAN Communications  make  no  warranty,  expressed or
  836.    implied, concerning this program's merchantability  or  fitness  for any
  837.    particular use.   In  no  event  is Justin Boyan or BOYAN Communications
  838.    liable to you for any damages resulting from your use of the program.
  839.  
  840.  
  841.    1.5  Using This Manual
  842.  
  843.  
  844.    BOYAN 5 is  an  easy  program  to  use.    Its commands are mnemonic and
  845.    consistent, and on-line  help  screens  are  available  at  any  time by
  846.    pressing  <F1>.    Experienced users and new users alike will be able to
  847.    use BOYAN effectively without ever reading this manual.
  848.  
  849.    The help screens,  however,  summarize rather than fully explain BOYAN's
  850.    features.  The complete information is here.  If you try each command on
  851.    your PC as it is described, you will realize the full power of BOYAN.
  852.  
  853.    This manual also provides several helpful appendices:  "Common Questions
  854.    & Answers," "BOYAN error  messages,"  and  "A  Glossary of BOYAN Terms."
  855.    When something goes wrong, you're likely to find help there!
  856.  
  857.    Please note the following typographical conventions:
  858.  
  859.     - Text  in  brackets,  such as <Esc>, indicates a key for you to press.
  860.       When  entering  a  key combination such as <Ctrl-PgUp>, hold down the
  861.       first key and then hit the second.
  862.  
  863.  
  864.  
  865.    1.5:  Introduction                                                     8
  866.    ________________________________________________________________________
  867.  
  868.  
  869.  
  870.  
  871.     - A  word whose first letter is underlined,  like  This,  represents  a
  872.       command which you can select by pressing that letter  (in  this  case
  873.       T).
  874.  
  875.     - Text in a fixed-width font like  this  represents a string for you to
  876.       type or a BOYAN macro.
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.                                   Chapter 2
  893.  
  894.                           Getting Started with BOYAN
  895.  
  896.  
  897.    2.1  System Requirements
  898.  
  899.  
  900.    BOYAN has the following minimal requirements:
  901.  
  902.     - IBM PC, XT, AT, or compatible with at least 256K of memory
  903.     - DOS 2.0 or later
  904.     - At  least 600 K of free disk space (a hard disk is preferred, but not
  905.       required)
  906.     - An internal modem card OR a serial port and external modem
  907.     - Any 80-column monochrome, CGA, EGA or VGA display
  908.  
  909.    BOYAN  runs  well  under  multitasking  environments  such  as Microsoft
  910.    Windows (as a non-Windows  application)  and  Desqview.   BOYAN can also
  911.    make full use of a printer and mouse, although they are not required.
  912.  
  913.  
  914.    2.2  Setting BOYAN Up On Disk
  915.  
  916.  
  917.    The BOYAN program  and  reference manual-on-disk are compressed into two
  918.    "zipped" files, named BOYAN5A.ZIP and BOYAN5B.ZIP.  If you receive BOYAN
  919.    from a user group, ShareWare distributor, or Bulletin Board System, then
  920.    it will also be in the form of the BOYAN5A.ZIP and BOYAN5B.ZIP files.
  921.  
  922.    BOYAN provides a DOS batch file named INSTALL.BAT which  makes  it  easy
  923.    for you to get BOYAN up and running.  Install  extracts  the BOYAN files
  924.    from  the  BOYAN5A.ZIP  and  BOYAN5B.ZIP  archives  and  organizes  them
  925.    logically into subdirectories.
  926.  
  927.  
  928.  
  929.    2.2:  Getting Started with BOYAN                                      10
  930.    ________________________________________________________________________
  931.  
  932.  
  933.  
  934.  
  935.    Before running Install, you should have at least 600 K of free  space on
  936.    the disk where BOYAN will reside.  (If you have  only  360 K floppy disk
  937.    drives, you will need  two  blank,  formatted  diskettes.)  Follow these
  938.    simple steps to install BOYAN:
  939.  
  940.            1.  At the  DOS prompt, change to the disk drive containing
  941.                Distribution  Diskette  #1.    (For example, if Distri-
  942.                bution Disk #1 is in disk drive A, you  would  type  A:
  943.                <Enter>.)
  944.  
  945.            2.  Type INSTALL C:\BOY5 <Enter> to run the batch file.  It
  946.                will  create  a  new directory on your  C  drive  named
  947.                C:\BOY5.   Note:  to install  BOYAN  into  a  different
  948.                directory, you must specify  its  name  on  the command
  949.                line      instead,       e.g.,       INSTALL B:      or
  950.                INSTALL D:\COMM\BOYAN.
  951.  
  952.    The batch file will display messages on the screen to keep  you informed
  953.    as it is working.  If for any  reason  you  wish  to interrupt the batch
  954.    file  before  it  completes,  press  <Ctrl-Break>.      Otherwise,  when
  955.    installation completes successfully, you will  be  given  the  option to
  956.    "Press [space] to run BOYAN".  Pressing <space> will start BOYAN  up, as
  957.    described in section 2.3.
  958.  
  959.    2.2.1  Files Included with BOYAN
  960.  
  961.    During installation, the following files  will be extracted from the ZIP
  962.    files and copied onto your drive:
  963.  
  964.    BOYAN.COM            Main BOYAN program file
  965.    BOYAN.HLP            BOYAN help screens
  966.    BOYAN.00*            Overlay files #0 through #6
  967.    BOYAN.PIF            Program Information File for Microsoft Windows
  968.    B5-PIF.DVP           Program Information File for DesqView
  969.    BOYANNEW.DOC         Summary of what's new with BOYAN 5
  970.    BOYAN.DOC            The complete BOYAN user manual
  971.    *.BAM                Various BOYAN Action Modules
  972.    VT-100.CNF           Configuration file for VT-100 terminal emulation
  973.    *.BSC                Sample BOYAN Script files
  974.    README.DOC           Information about installing BOYAN
  975.    README2.DOC          Information about printing the BOYAN manual
  976.    REGISTER.DOC         A printer-ready BOYAN registration form
  977.    INSTALL.BAT          A DOS batch file used to install BOYAN 5
  978.    INSTALL#.BAT         An auxiliary batch file used by INSTALL.BAT
  979.    NEEDFREE.EXE         An auxiliary utility used by INSTALL.BAT
  980.  
  981.    The BOYAN distribution diskettes also contain various  external protocol
  982.    drivers  such  as   DSZ.ZIP  (Zmodem),  OZBEXT.ZIP  (Compuserve-B),  and
  983.    PCKERMIT.ZIP  (Kermit).    Finally,  both distribution diskettes contain
  984.  
  985.  
  986.  
  987.    2.2.1:  Getting Started with BOYAN                                    11
  988.    ________________________________________________________________________
  989.  
  990.  
  991.  
  992.  
  993.    PKUNZIP,  Phil  Katz's  utility for extracting programs  from  the  .ZIP
  994.    files.  Note:   these  programs  have  ShareWare licenses independent of
  995.    BOYAN's; please register the ones you use with their respective authors.
  996.  
  997.  
  998.    2.3  Running BOYAN for the First Time
  999.  
  1000.  
  1001.    2.3.1  Running BOYAN
  1002.  
  1003.    To start BOYAN, simply type BOYAN at the DOS prompt and hit <Enter>.  If
  1004.    you  have  set  everything up properly,  you  should  see  the  message,
  1005.    "Welcome to BOYAN Communications 5!"
  1006.  
  1007.    At  this  point,  you will have to answer five basic  questions:    what
  1008.    serial port does your modem use (Com1, Com2, Com3, or Com4); what is the
  1009.    highest speed your modem can handle (300-38400 baud); what parity (None,
  1010.    Even, or Odd) should  BOYAN  default to; can your monitor display colors
  1011.    (Yes or No); and do you have a BOYAN version 5  registration  code.   If
  1012.    you  are unsure about any of these questions and want to exit BOYAN, you
  1013.    may press <Esc> at any time.
  1014.  
  1015.    After you have answered these questions, a welcome screen  will  pop  up
  1016.    while BOYAN briefly initializes.  During this process, BOYAN creates the
  1017.    following files:
  1018.  
  1019.    BOYAN.CNF            (2000 bytes)   Information specific to your config-
  1020.                         uration.
  1021.    BOYAN.MAC            (14,700  bytes)  The 120 programmable  function-key
  1022.                         macros and modem commands.
  1023.    BOYAN.FON            (14,000 bytes)  A 200-entry dialing directory.
  1024.    BOYAN.PWD            (3000 bytes)   The  200 passwords for each entry in
  1025.                         BOYAN.FON
  1026.  
  1027.    The  next time you run BOYAN, all of these files will already be present
  1028.    in the directory, and all initialization will occur automatically.
  1029.  
  1030.    When BOYAN's initialization is  complete,  the  screen clears, and BOYAN
  1031.    initializes  the modem with the "ATX4S0=0" command.    The  Status  Line
  1032.    reports, "Communication ready."
  1033.  
  1034.    2.3.2  First-time Modem Setup
  1035.  
  1036.  
  1037.    Before trying to establish your  first connection with BOYAN, you should
  1038.    consult  your  modem  manual  to  be  sure  that  your modem is properly
  1039.    installed.  If  at all possible, you should set up the modem so that the
  1040.    "Data Terminal Ready" signal  and  "Carrier  Detect" signal are ENABLED,
  1041.    rather than ALWAYS ON.  The exact way to do this  varies  from  modem to
  1042.  
  1043.  
  1044.  
  1045.    2.3.2:  Getting Started with BOYAN                                    12
  1046.    ________________________________________________________________________
  1047.  
  1048.  
  1049.  
  1050.  
  1051.    modem.    Many  modems,  including  the  Hayes  2400 and  the  Practical
  1052.    Peripherals 9600SA, require the command  AT&C1&D2&W  <Enter>,  which you
  1053.    may type from BOYAN's terminal mode exactly as shown.    These  settings
  1054.    will be stored  even after your modem is turned off, so you only need to
  1055.    type this command once.    On a U.S. Robotics Courier (1200,2400,or HST)
  1056.    modem, you must flick modem toggle  switches  #1  and #6 to OFF; this is
  1057.    the factory setting for their modems built since 1989.
  1058.  
  1059.    2.3.3  BOYAN under Microsoft Windows
  1060.  
  1061.    BOYAN runs fine  as  a "non-Windows application" under Microsoft Windows
  1062.    3.0.   A PIF (Program Information File) for  Windows  is  included  with
  1063.    BOYAN.   To install BOYAN into a group window in the Program Manager, do
  1064.    the following:
  1065.  
  1066.       1.  Select  the  group  for  BOYAN  (for  example,  the  "Non-Windows
  1067.           Applications" group) and make that group the current window.
  1068.  
  1069.       2.  Select "New" from the Files menu to add a new item to the group.
  1070.  
  1071.       3.  Enter drive:\path\BOYAN.PIF  as  the  item  command  line,  where
  1072.           drive:\path is  your  BOYAN  directory  (e.g.,  C:\BOY5).   Enter
  1073.           anything you like for the item description and BOYAN icon.
  1074.  
  1075.    Please  consult  your  Windows  manual  for  details  on installing  new
  1076.    applications.
  1077.  
  1078.    2.3.4  BOYAN under DesqView
  1079.  
  1080.    BOYAN also runs well in the DesqView multitasking environment.  BOYAN is
  1081.    "DesqView-friendly"  in that it releases unused  portions  of  its  time
  1082.    slice for other programs to use.  The B5-PIF.DVP file provides a default
  1083.    configuration for running BOYAN 5 under DesqView.
  1084.  
  1085.  
  1086.    2.4  The World of BOYAN
  1087.  
  1088.  
  1089.    Welcome!  BOYAN is now in "terminal mode,"  ready  to  begin  a communi-
  1090.    cations session.  You may now  type  modem commands directly, or use any
  1091.    of BOYAN's built-in commands.  There are several features common  to the
  1092.    whole program with which you should become familiar.
  1093.  
  1094.    2.4.1  The Status Line
  1095.  
  1096.  
  1097.    The bottom  line  of  the  screen is called the Status Line.  The Status
  1098.    Line is divided into three parts--left, middle, and right.
  1099.  
  1100.  
  1101.  
  1102.    2.4.1:  Getting Started with BOYAN                                    13
  1103.    ________________________________________________________________________
  1104.  
  1105.  
  1106.  
  1107.  
  1108.     - The left part of the status  line  is  used by BOYAN to interact with
  1109.       you.  When BOYAN needs to display a message or get your response to a
  1110.       prompt, it does so here.
  1111.  
  1112.     - The  middle part of the line tells you which version of BOYAN you are
  1113.       using.  When a "script file" takes control, its  name  flashes  here.
  1114.                                                          2 
  1115.       Furthermore, during terminal emulation, a  small       here indicates
  1116.       that you have selected the secondary keyset, not the primary keyset.
  1117.  
  1118.     - The right part of the line displays information about the  system you
  1119.       dialed  most recently.  When you have made  a  connection,  the  line
  1120.       shows the name of the on-line  system  as well as the running elapsed
  1121.       time of the call.
  1122.  
  1123.    2.4.2  <Esc> = Go Back
  1124.  
  1125.    Whenever  you need to "go back" or abort  your  current  operation  with
  1126.    BOYAN, press the <Esc> key.  This is one of BOYAN's most handy features;
  1127.    you can never get stuck.  Remember, <Esc> to go back.
  1128.  
  1129.    If you  have  a  mouse,  pressing its right button is always the same as
  1130.    pressing <Esc>.
  1131.  
  1132.    2.4.3  The Help System
  1133.  
  1134.    BOYAN's context-sensitive help screens are accessible  anytime  with the
  1135.    <F1> key.  When you press <F1>, BOYAN displays the screen most likely to
  1136.    help you.  To scan all the help screens, press <F1> while viewing a help
  1137.    screen.    This  brings   up   Help  Page  B,  the  Help  Screen  Index.
  1138.    Instructions  there explain how to use the <PgUp>  and  <PgDn>  keys  to
  1139.    scroll through all 22 help pages.    You  can also instantly view any of
  1140.    the screens by pressing the letter associated with it on the Help Index.
  1141.  
  1142.    If you are  in  terminal  mode,  pressing  <F1> brings up a special help
  1143.    screen,  the BOYAN Command Menu.  If you have a mouse, clicking the left
  1144.    mouse button also brings up the Command Menu.  Any command from the list
  1145.    can be chosen and executed while you are viewing this  help  screen.  In
  1146.    the lower-right quarter of the screen, the current on/off state  of each
  1147.    of the "toggle" commands  is  shown.  BOYAN commands are described fully
  1148.    in chapter 4.
  1149.  
  1150.    2.4.4  Using a Mouse
  1151.  
  1152.  
  1153.    BOYAN  5  offers  a  complete  interface  for  the Microsoft  Mouse  and
  1154.    compatibles.   As you move the mouse pointer over a BOYAN menu, a scroll
  1155.    bar  moves  with  it, highlighting the option  underneath  the  pointer.
  1156.    Press the left button to select the highlighted option.
  1157.  
  1158.  
  1159.  
  1160.    2.4.4:  Getting Started with BOYAN                                    14
  1161.    ________________________________________________________________________
  1162.  
  1163.  
  1164.  
  1165.  
  1166.    When you are responding to a BOYAN prompt (not in a menu), you may press
  1167.    the  left button to accept the default response.  The left button is the
  1168.    same as the <Enter> key in this case.
  1169.  
  1170.    As mentioned above, the right button is always  the  same  as  the <Esc>
  1171.    key; press the right mouse button to "go back" at any time.
  1172.  
  1173.    The Dialing Directory, File Manager,  Redialing  Queue,  and Scroll-Back
  1174.    Buffer  offer  special  mouse  support,  including a 1-line menu at  the
  1175.    bottom of the screen.  Mouse  commands  specific to those areas of BOYAN
  1176.    are described later in this manual.
  1177.  
  1178.    If you have trouble using your mouse with BOYAN, please consult Appendix
  1179.    A, "Common Questions and Answers."
  1180.  
  1181.    2.4.5  The Line Editor
  1182.  
  1183.  
  1184.    When using  BOYAN's interactive commands, you are often asked questions.
  1185.    The simplest way to respond  is  to  type  in  your  response  and press
  1186.    <Enter>.   However, if you make a mistake  while  typing,  BOYAN's  Line
  1187.    Editor  lets  you quickly correct it.   Also,  BOYAN  often  provides  a
  1188.    "default" value--a suggested  response--for  its  questions.    The Line
  1189.    Editor allows you to modify, replace, or accept BOYAN's  default.    The
  1190.    following are the Line Editor commands, which are available  to  you  at
  1191.    any time as you respond to a BOYAN prompt:
  1192.  
  1193.         Accept entry as shown . . . . . . . . .<Enter> or left mouse button
  1194.         Move left one character . . . . . . . . . . . . . . . . <LeftArrow>
  1195.         Move right one character  . . . . . . . . . . . . . . .<RightArrow>
  1196.         Move left one word  . . . . . . . . . . . . . . . .<Ctrl-LeftArrow>
  1197.         Move right one word . . . . . . . . . . . . . . . <Ctrl-RightArrow>
  1198.         Go to beginning of entry  . . . . . . . . . . . . . . . . . .<Home>
  1199.         Go to end of entry  . . . . . . . . . . . . . . . . . . . . . <End>
  1200.         Backspace delete  . . . . . . . . . . . . . . . . . . . <Backspace>
  1201.         Delete character under cursor . . . . . . . . . . . . . . . . <Del>
  1202.         Delete to end of entry  . . . . . . . . . . . . . . . . .<Ctrl-End>
  1203.         Restore BOYAN's provided default  . . . . . . . . .<Ctrl-Backspace>
  1204.         Toggle Insert Mode  . . . . . . . . . . . . . . . . . . . . . <Ins>
  1205.           Insert Mode ON:                                   flashing cursor
  1206.           Insert Mode OFF:                                     block cursor
  1207.  
  1208.    These commands are also listed on Help Screen E, which  you  can view by
  1209.    keying the <F1><F1>E sequence at any time.
  1210.  
  1211.    Anxious to try an example?  From terminal mode, press the <Alt-F> key to
  1212.    call up BOYAN's File  Manager;  then press <P> (which stands for Pattern
  1213.    Mark).  You will see the  "MARK"  prompt, followed by a default response
  1214.    of "*.*".   The  Line Editor cursor is over the first star.  To mark all
  1215.  
  1216.  
  1217.  
  1218.    2.4.5:  Getting Started with BOYAN                                    15
  1219.    ________________________________________________________________________
  1220.  
  1221.  
  1222.  
  1223.  
  1224.    files  starting  with  BOYAN,  you  would change "*.*" to "BOYAN*.*"  by
  1225.    typing <Ins> BOYAN.  Pressing <Ins> turns on  Insert  Mode  so  that the
  1226.    "*.*" shifts over as you type.  Before pressing  <Enter>,  experiment  a
  1227.    little  with  the  Line Editor commands.  When you do press <Enter>, you
  1228.    will see little marks next to each filename starting with "BOYAN".   (If
  1229.    you would like to experiment with  the  File Manager, you may press <F1>
  1230.    for  help,  or see section 4.6.1.)  Press <Esc> when you  are  ready  to
  1231.    return  to  terminal  mode.    You  will  find the Line Editor easy  and
  1232.    convenient after a little time with BOYAN.
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.                                   Chapter 3
  1249.  
  1250.                           <Alt-C> Customizing BOYAN
  1251.  
  1252.  
  1253.    BOYAN provides  dozens of configurable options for great flexibility and
  1254.    power.    For  example,  you  can customize BOYAN's screen colors,  disk
  1255.    directory usage,  modem  dialing  commands,  and  many  key assignments.
  1256.    Luckily,  most  of  these  options  will be perfectly suitable at  their
  1257.    preset  (default)  values.   If you are just starting with BOYAN, you do
  1258.    not need to  concern  yourself with reconfiguring BOYAN's options unless
  1259.    you fall into one of the following categories:
  1260.  
  1261.     - You own a nonstandard modem which does not use the Hayes command set,
  1262.       or you wish to select "pulse" rather than "Touch-Tone" dialing.   See
  1263.       section 3.1.
  1264.  
  1265.     - Your modem is plugged into a nonstandard serial device (a  port other
  1266.       than Com1, Com2, IBM-PC Com3, or IBM-PC Com4).  See section 3.2.
  1267.  
  1268.     - You are running BOYAN on a system with two 360K floppy drives, and no
  1269.       hard disk.  See section 3.3.
  1270.  
  1271.     - You use a modem which allows you to lock the communications port at a
  1272.       high speed (4800 baud or greater) while actually connected at a lower
  1273.       speed.  Most  modems  with  built-in  MNP  error  control  offer this
  1274.       feature.  See section 3.4.
  1275.  
  1276.    If you do not fit  into  any  of  those  categories,  BOYAN  should work
  1277.    perfectly without your having to  perform any special configuration.  In
  1278.    that case, feel free to skip  ahead  to  chapter 4, where you will learn
  1279.    how to telecommunicate with BOYAN!
  1280.  
  1281.    BOYAN's built-in configuration program makes  BOYAN  easy  to  tailor to
  1282.    your own needs.  Call up  the  configuration menu by pressing <Alt-C>; a
  1283.    menu  of configuration areas will appear.  You may also use the  <Alt-K>
  1284.    command  key to go directly to Configuration Area  <M>  (macro  and  key
  1285.    configuration).    The  rest  of  this  chapter  describes each  of  the
  1286.    configuration areas in detail,  beginning  with section 3.5.  Note:  any
  1287.    configuration changes you make are  automatically  saved  to  disk right
  1288.    away.
  1289.  
  1290.  
  1291.  
  1292.    3.1:  <Alt-C> Customizing BOYAN                                       17
  1293.    ________________________________________________________________________
  1294.  
  1295.  
  1296.  
  1297.  
  1298.    3.1  Configuring a Non-Hayes-Compatible Modem
  1299.  
  1300.  
  1301.    The Hayes command set is emulated by almost all popular modems.  If your
  1302.    modem  is  not  Hayes-compatible, however, you will have to consult your
  1303.    modem manual to edit the following BOYAN settings:
  1304.  
  1305.     - Modem response messages:  Configuration Area <C>, options D-I.
  1306.  
  1307.     - Modem  dialing command:  Configuration Area  <M>,  subarea  A,  macro
  1308.       number 1.
  1309.  
  1310.    In particular, BOYAN's modem dialing command is preset to use Touch-Tone
  1311.    dialing.  If your modem/phone line does not support Touch-Tone, you must
  1312.    configure BOYAN to use pulse dialing instead, as follows:
  1313.  
  1314.       1.  From the main <Alt-C> configuration menu, select Macros.
  1315.       2.  From the Macros menu, press A for Macros 1-10.
  1316.       3.  Type 1 <Enter> to edit the "Dialing command."
  1317.       4.  Use the <RightArrow> key to position the cursor  over  the second
  1318.           "T" in "ATDT"; then press P, replacing the T.  The command should
  1319.           now read, "ATDP @SF {".  Press  <Enter>  to  accept  your change.
  1320.           (If  you  make  a  mistake,  press <Esc> instead of <Enter>,  and
  1321.           return to step 3.)
  1322.       5.  Press <Esc> twice to return to the main configuration menu.
  1323.  
  1324.  
  1325.    3.2  Configuring a Nonstandard Comm Device
  1326.  
  1327.  
  1328.    The standard IBM-PC provides for only two serial  devices  (ports), Com1
  1329.    and Com2.  However, more are often needed, and  BOYAN  provides  support
  1330.    for two additional devices, named Com3 and Com4.  To use  those devices,
  1331.    BOYAN must know the exact "address" in computer memory where  the device
  1332.    is located.  BOYAN comes preconfigured with the addresses occupied  by a
  1333.    typical Com3 device and a typical Com4 device, so if  you  are using one
  1334.    of those, BOYAN will work without additional configuration.  However, if
  1335.    you try dialing  with  BOYAN  and  find that "nothing happens," then you
  1336.    need to consult  the  manual  that  came  with the port to determine the
  1337.    proper addresses.  In particular, BOYAN must be reconfigured to use Com3
  1338.    or Com4 on the IBM PS/2  computers.   Port addresses are configurable in
  1339.    BOYAN's Configuration Area  <E>,  options  M-P.    See  section  3.8 for
  1340.    further details.
  1341.  
  1342.  
  1343.  
  1344.    3.3:  <Alt-C> Customizing BOYAN                                       18
  1345.    ________________________________________________________________________
  1346.  
  1347.  
  1348.  
  1349.  
  1350.    3.3  Configuring a Two-Floppy System
  1351.  
  1352.  
  1353.    Two of BOYAN's features, the Automatic Usage Log  and  External Protocol
  1354.    file transfers, require more than the 360K of disk space available  on a
  1355.    standard 5.25-inch floppy drive.  Therefore, to use these features  on a
  1356.    system with two 360K floppies but no hard drive, you must configure them
  1357.    to use the B: floppy drive, as follows:
  1358.  
  1359.       1.  From BOYAN's terminal mode  (the  "Communication  ready" screen),
  1360.           press <Alt-C>, D  to  call  up  Configuration Area D: Disk & File
  1361.           setup.
  1362.  
  1363.       2.  Press H to edit the external protocol path, and type  B: <Enter>.
  1364.           Now BOYAN will assume that the external protocols  (on  your disk
  1365.           labeled Protocol) will be found in the B: drive.
  1366.  
  1367.       3.  Press  J  to  enable the usage log (option=YES).  Then press K to
  1368.           edit the usage log filename, and type:  B:BOYAN.USE <Enter>.  Now
  1369.           the usage log will be maintained on the B:  drive  (the  Protocol
  1370.           disk).
  1371.  
  1372.  
  1373.    3.4  Configuring a High-Speed Modem
  1374.  
  1375.  
  1376.    High-speed modems are available which use automatic data-compression and
  1377.    error-checking  to  provide  reliable  communication at speeds exceeding
  1378.    9600 bps.    To  get  the maximum throughput from such a modem, you must
  1379.    configure several BOYAN  options.   The following discussion pertains to
  1380.    the US Robotics Courier HST, currently the most popular 9600 baud modem,
  1381.    but similar steps  would  work  for  the Hayes 9600 and other high-speed
  1382.    modems; please consult your modem manual for details.
  1383.  
  1384.       1.  From BOYAN's terminal mode  (the  "Communication  ready" screen),
  1385.           type   the   following   modem   command,   exactly   as   shown:
  1386.           AT&B1&N0&H1&W <Enter>.  This  instructs  your  USR Courier HST to
  1387.           communicate with the  remote  computer  at  its  highest possible
  1388.           speed, and to communicate  with  your  local  computer at a fixed
  1389.           speed  at all times.  It also tells the modem to use CTS/RTS Flow
  1390.           Control to insure that BOYAN's buffers do not overflow.
  1391.  
  1392.       2.  Press <Alt-C> to call up BOYAN's configuration menu, and select C
  1393.           for Communications Options.  Inside Configuration Area <C>, press
  1394.           B repeatedly until the modem speed of 19200 baud appears.   Press
  1395.           <Esc> to return to the main configuration menu.
  1396.  
  1397.  
  1398.  
  1399.    3.4:  <Alt-C> Customizing BOYAN                                       19
  1400.    ________________________________________________________________________
  1401.  
  1402.  
  1403.  
  1404.  
  1405.       3.  Select  E for Expert Communications Options.   Press  C  to  turn
  1406.           CTS/RTS  flow  control  ON, and press F to change the Auto-Detect
  1407.           connect speed setting to NO.   Press  <Esc> to return to the main
  1408.           configuration menu.
  1409.  
  1410.       4.  Select M  for  Macros,  and  type  1  <Enter> to edit the Dialing
  1411.           Command macro.   Then type <Ins> \CS[19200] <Enter>, changing the
  1412.           macro into \CS[19200] ATDT @SF { .   This  macro  tells  BOYAN to
  1413.           change the speed to 19200  baud  immediately  before  dialing any
  1414.           number, regardless of the speed selected for that  system  in the
  1415.           dialing directory.
  1416.  
  1417.    Following those four steps  will  squeeze  every  drop of speed possible
  1418.    from your US Robotics Courier HST modem!
  1419.  
  1420.    For MNP-compatible modems, you  may  wish  to  use two alternate dialing
  1421.    commands (in  BOYAN  macros  #1  and  #2):   one for normal, MNP-enabled
  1422.    dialing, and one for disabling MNP before dialing.  For example,  on MNP
  1423.    modems made by Intel and  Practical Peripherals, you would configure the
  1424.    following dialing commands in Configuration Area <M>:
  1425.  
  1426.     - Macro #1:  AT"\N3"\V1DT@SF{
  1427.     - Macro #2:  AT"\N0DT@SF{
  1428.  
  1429.    (Other modems may use different commands.)  To specify  that  a  dialing
  1430.    directory entry should use the alternate dialing command (#2) instead of
  1431.    the  normal command (#1), you simply append the letter "a" to the end of
  1432.    the entry's phone number.
  1433.  
  1434.    Note:  processing high-speed transmissions is a very sensitive operation
  1435.    which may be affected by  RAM-resident programs such as screen-savers or
  1436.    "pop-up"  utilities.     If  you  notice  missing  characters  or  other
  1437.    abnormalities during  high-speed  communication,  removing  the resident
  1438.    programs  from  memory  may help.   You  might  also  try  reducing  the
  1439.    communication speed; even  a  80386-class machine may lose characters at
  1440.    38400 baud!    A  final  option  would  be  to  invest  in  the National
  1441.    Semiconductor 16550AN UART chip, which provides automatic FIFO buffering
  1442.    and can significantly reduce software overhead.  If you have  a 16550AN,
  1443.    you can enable its FIFO buffering with BOYAN's macro  command  \BU+,  as
  1444.    described in section 5.2.4.
  1445.  
  1446.  
  1447.    3.5  Config Area <S> -- Screen, Sound, Memory
  1448.  
  1449.  
  1450.    Select S to see this menu.  Sixteen options are listed, along with their
  1451.    present values.   To  change  any  option, first hit the option's letter
  1452.    (A-P), then enter  the  new value.  As you edit an entry you may use the
  1453.  
  1454.  
  1455.  
  1456.    3.5:  <Alt-C> Customizing BOYAN                                       20
  1457.    ________________________________________________________________________
  1458.  
  1459.  
  1460.  
  1461.  
  1462.    BOYAN Line Editor (see section 2.4.5).  You may also press <F1> for help
  1463.    at any time.
  1464.  
  1465.      <A> Normal text color, default = 7.  This number represents  the color
  1466.          of the text coming  to  and from the modem during a communications
  1467.          session.  If  you  have  a  color  monitor and wish to change this
  1468.          value,  enter  a  number between 1 and 127 from the color chart at
  1469.          the right.  Press <Enter> after typing the number.  Alternatively,
  1470.          if you have a mouse, you  may  simply  point at the color you want
  1471.          and click the left button.
  1472.  
  1473.      <B> Enhanced text color, default  =  12 (color), 15 (B&W).  When BOYAN
  1474.          needs  to  highlight  text on the communications  screen  for  any
  1475.          reason it will use this color.
  1476.  
  1477.      <C> Menu  and help screen color, default =  113  (color),  112  (B&W).
  1478.          BOYAN's menus and help screens will be displayed in this color.
  1479.  
  1480.      <D>  Menu  header  color, default = 31 (color), 15 (B&W).    Used  for
  1481.          highlighting menu headers and the 1-line mouse menu.
  1482.  
  1483.      <E> Menu highlight bar color, default = 49 (color), 7 (B&W).  Used for
  1484.          highlighting the "selected entry" in the  Dialing  Directory, File
  1485.          Manager, and Redialing Queue.  Also used in mouse menus.
  1486.  
  1487.      <F> Help screen highlight  color,  default  =  116 (color), 126 (B&W).
  1488.          Used for highlighting special text on the help screens as  well as
  1489.          in some menus.
  1490.  
  1491.      <G> Status line color, default = 95 (color), 112 (B&W).
  1492.  
  1493.      <H> Scroll-back color, default = 3 (color), 7 (B&W).  Text  in BOYAN's
  1494.          scroll-back buffer will appear in this color.
  1495.  
  1496.      <I> Macro  display message color, default =  62  (color),  112  (B&W).
  1497.          User-generated menus,  for example, will appear on the text screen
  1498.          in this color.
  1499.  
  1500.      <J> Beeps  &  Bells,  default = ON.   The  value  of  this  item  will
  1501.          determine whether BOYAN's normal sound  effects are on or off each
  1502.          time BOYAN is run.  At  any  given  time while you are using BOYAN
  1503.          you may temporarily toggle the sound on or off  with  the  <Alt-B>
  1504.          command   (section 4.1.3).  This setting  is  independent  of  the
  1505.          alarm level.
  1506.  
  1507.      <K> Alarm  level,  default  = 7.  BOYAN uses its alarms  to  signal  a
  1508.          successful redialer connection, the end  of a file transfer, and a
  1509.          modem disconnect.   Change  the  volume  level  of  the  alarms by
  1510.          setting  this  field  between 1 (low buzzing) and 10 (loud, shrill
  1511.  
  1512.  
  1513.  
  1514.    3.5:  <Alt-C> Customizing BOYAN                                       21
  1515.    ________________________________________________________________________
  1516.  
  1517.  
  1518.  
  1519.  
  1520.          beep).  0 turns the alarm off altogether.    Note  that  the alarm
  1521.          level is independent of the Beeps & Bells setting.
  1522.  
  1523.      <L> Use  dots  in  menus, default = YES.  BOYAN will enhance its menus
  1524.          with small dots if this option is YES.
  1525.  
  1526.      <M>  Use  mouse  if  detected,  default  = YES.  If you have  a  mouse
  1527.          installed but don't want to use it with BOYAN, toggle  this option
  1528.          to NO.
  1529.  
  1530.      <N> Return to Dial Dir if no connect, default  =  NO.    If you dial a
  1531.          number from the dialing directory screen but the  number  is busy,
  1532.          the dialing directory will automatically reappear if  this setting
  1533.          is YES.  If this setting is NO, you will  remain  in terminal mode
  1534.          after an unsuccessful dial attempt.  (Auto-dialing is explained in
  1535.          section 4.2.1.4.)
  1536.  
  1537.      <O> Memory (in K) reserved for DOS shell, default =  133.  BOYAN  uses
  1538.          about 170 K of memory for itself; all remaining memory  is divided
  1539.          between the scroll-back  buffer  (section 4.7.2) and the DOS shell
  1540.          (section 4.6.2).  Larger values for this option will allow  you to
  1541.          run larger programs from within BOYAN.  For example, at  least 133
  1542.          K  is  required  to  run  "TED",  PC  Magazine's editor.    (Other
  1543.          ShareWare editors such as  "QEDIT"  may require less.)  To use the
  1544.          "Zmodem" external protocol, you should  reserve  at  least  115 K.
  1545.          Other external protocols, like "Kermit" and  "Sealink,"  work with
  1546.          as little as 65 K.  Smaller values will increase  the  size of the
  1547.          scroll-back  buffer.    To maximize the size  of  the  scroll-back
  1548.          buffer, you may set this value to 0, but then BOYAN  commands like
  1549.          "Copy a file" will be disabled.  25 K is  the  smallest value that
  1550.          will enable DOS command use from within BOYAN.   Changes  to  this
  1551.          setting do not take effect until the next time you run BOYAN.  You
  1552.          can  override  the  number configured here by running BOYAN with a
  1553.          number on its Command Line, e.g.:  BOYAN 180 .
  1554.  
  1555.      <P> Default logon password.    BOYAN allows you to associate a private
  1556.          password  with each system in your Dialing  Directory.    When  no
  1557.          password is specified  for  a given directory entry, however, this
  1558.          password  will  be  used.  If you use the same  password  for  the
  1559.          majority of systems you call, you may find it convenient  to enter
  1560.          that password here rather than in each directory entry.
  1561.  
  1562.  
  1563.    3.6  Config Area <D> -- Disk and File Setup
  1564.  
  1565.  
  1566.    Press  a  letter from A through P to edit these entries,  all  of  which
  1567.    concern  disk  operations  and file transfers.  Remember, press <F1> for
  1568.    help.
  1569.  
  1570.  
  1571.  
  1572.    3.6:  <Alt-C> Customizing BOYAN                                       22
  1573.    ________________________________________________________________________
  1574.  
  1575.  
  1576.  
  1577.  
  1578.      <A> DOS  command to view a file, default = TYPE.  To view the contents
  1579.          of  a  text  file  during  a communication session, BOYAN sends  a
  1580.          command to DOS consisting of the View file command +  the filename
  1581.          (e.g. TYPE FILENAME.EXT).  If you own another file viewing utility
  1582.          such as Vernon Buerg's LIST program, you may use its name for this
  1583.          option instead.
  1584.  
  1585.      <B> DOS command to  edit a file, default = TED.  When you want to edit
  1586.          a text file, BOYAN sends a  command  to DOS consisting of the Edit
  1587.          file command + the  filename  (e.g. TED FILENAME.EXT).  TED is the
  1588.          "tiny editor" written  by  Tom  Kihlken  for PC Magazine.  If your
  1589.          word processor is capable of  editing standard text files, you may
  1590.          wish to enter its name here.
  1591.  
  1592.      <C> Sort  filenames  in  file manager, default  =  YES.    When  BOYAN
  1593.          displays a disk directory,  the  filenames  will  be automatically
  1594.          alphabetized  if  this  option is YES.  If this setting is NO, the
  1595.          files will be displayed in the normal DIR order.
  1596.  
  1597.      <D> Default FON dialing directory, default  =  BOYAN.FON.    Enter the
  1598.          name of the dialing directory which BOYAN should load at start-up.
  1599.          The filename should end with the .FON suffix.
  1600.  
  1601.      <E> Default  path  for  FON directories.  Enter the complete drive and
  1602.          directory in which BOYAN should  expect to find all .FON directory
  1603.          files.  If no path is  specified  here, BOYAN will assume that the
  1604.          files are in your BOYAN directory.
  1605.  
  1606.      <F> Default path for file uploads.  When you transfer a file from your
  1607.          PC to a remote computer (upload), BOYAN will search this directory
  1608.          for the file.  If it  is  not  found in that directory, BOYAN will
  1609.          also automatically check  the  current DOS directory for the file.
  1610.          You may temporarily change  this  default path at the start of any
  1611.          transfer, but use this option to store your usual choice.
  1612.  
  1613.      <G> Default path for file downloads.  When BOYAN transfers a file from
  1614.          a remote computer to your  PC  (download),  it  will automatically
  1615.          place the file in this drive and subdirectory.  BOYAN will use the
  1616.          current path if  this  field  is  left empty.  You may temporarily
  1617.          change this default  path  at  the  start of any transfer, but use
  1618.          this option to store your usual choice.
  1619.  
  1620.      <H> Path  for  external  protocols.  BOYAN expects  to  find  external
  1621.          protocols such as DSZ.COM (Zmodem)  and  PCKERMIT.EXE  (Kermit) in
  1622.          the drive and subdirectory  specified  here.    If you are running
  1623.          BOYAN  on a two-floppy system, you should set  this  path  to  B:.
  1624.          The BOYAN directory will be used if you leave this setting blank.
  1625.  
  1626.  
  1627.  
  1628.    3.6:  <Alt-C> Customizing BOYAN                                       23
  1629.    ________________________________________________________________________
  1630.  
  1631.  
  1632.  
  1633.  
  1634.      <I> Default path for script files.  When you run a script  file, BOYAN
  1635.          searches  this  drive  and directory for the script.  If it is not
  1636.          found there, then  BOYAN  also  tries  to locate the script in the
  1637.          current DOS directory.   If  you  leave  this setting blank, BOYAN
  1638.          will search the BOYAN directory for the script.
  1639.  
  1640.      <J> Maintain usage log, default = YES if you are using a hard disk, NO
  1641.          if floppy.  If you select YES, BOYAN  will  maintain  a  text file
  1642.          activity log which shows  a  record  of  all BOYAN connections and
  1643.          file transfers (see section 4.5.3).  You can toggle the  usage log
  1644.          on and off during BOYAN's operation with the <Alt-U> command.
  1645.  
  1646.      <K> Default usage log file,  default  =  BOYAN.USE.   Specify here the
  1647.          complete drive, directory,  and  filename  for  BOYAN's  usage log
  1648.          file.
  1649.  
  1650.      <L> Usage  log  line prefix, default = %MO/%DA, %HR:%MI .  This string
  1651.          will be appended before every line  in  the usage file.  Any BOYAN
  1652.          macro variables in the string will be substituted  properly.   For
  1653.          example,  with  the  default  prefix,  the  Usage   Message  macro
  1654.          \UM[Disconnected!] will create  a  usage  log  entry  like "05/28,
  1655.          11:35 Disconnected!".
  1656.  
  1657.      <M> Default log to disk file, default = BOYAN.LOG.   BOYAN  can  auto-
  1658.          matically save all incoming text to a disk  file  (section 4.5.1).
  1659.          Although you can change this name  each  time you log to disk, the
  1660.          default directory and filename should be set here.
  1661.  
  1662.      <N> Default screen dump file, default = SCRNDUMP.TXT.  BOYAN's <Alt-S>
  1663.          command saves a copy of the current screen to a disk file (section
  1664.          4.5.2).  Use this  option  to  specify  the directory and filename
  1665.          BOYAN should use for this file.
  1666.  
  1667.      <O> Scroll-back filename, default = SCRBACK.LOG.  When viewing text in
  1668.          the  scroll-back buffer, you may mark any region  of  text  to  be
  1669.          saved to a disk file (section 4.7.2).  Specify this file's default
  1670.          directory and filename here.
  1671.  
  1672.      <P> Default  phone  list  dump file, default = NUMBERS.TXT.  BOYAN can
  1673.          generate  a  readable  text file listing of  the  phone  directory
  1674.          (section 4.2.1.4).   Specify  this  file's  default  directory and
  1675.          filename here.
  1676.  
  1677.  
  1678.  
  1679.    3.7:  <Alt-C> Customizing BOYAN                                       24
  1680.    ________________________________________________________________________
  1681.  
  1682.  
  1683.  
  1684.  
  1685.    3.7  Config Area <C> -- Communications options
  1686.  
  1687.  
  1688.    Select a letter from A through P to change any of  these  entries.   The
  1689.    defaults for these settings apply to a typical computer  with  a  Hayes-
  1690.    compatible modem.
  1691.  
  1692.      <A> Serial device (port) to use.  Toggle this option  to  Com1,  Com2,
  1693.          Com3, or Com4 to specify the serial port which  BOYAN  should  use
  1694.          when  it  starts  up.  This  can  be  changed  temporarily  during
  1695.          terminal mode with the <Alt-P> Parameter  Change  command (section
  1696.          4.2.3).  Note:  if you are using the Com3 or  Com4  port,  you may
  1697.          need to specify the port  addresses in Configuration Area <E> (see
  1698.          section 3.8).
  1699.  
  1700.      <B> Modem  speed.    BOYAN  will  automatically use the baud rate  you
  1701.          select here (300, 1200, 2400, 4800, 9600, 19200, or 38400) when it
  1702.          starts  up,  but  this rate can be changed at any  time  with  the
  1703.          <Alt-P> command (section 4.2.3).
  1704.  
  1705.      <C> Parity  setting.    BOYAN will automatically use  the  parity  you
  1706.          select  (None,  Even, Odd) when it starts  up,  but  this  can  be
  1707.          changed  at any time with the  <Alt-P>  command  (section  4.2.3).
  1708.          Most  Bulletin Board Systems will work with  a  setting  of  None,
  1709.          whereas most mainframes, databases,  and  large  services  such as
  1710.          CompuServe require a setting of Even.  BOYAN automatically selects
  1711.          a "word length" of 8 bits for No parity, and 7  bits  for  Even or
  1712.          Odd parity.
  1713.  
  1714.      <D> Modem connect message, default  =  CONNECT.  If your modem gives a
  1715.          message upon making a connection, enter that message  here.   Note
  1716.          that "CONNECT" will cover the extended messages of "CONNECT 1200",
  1717.          "CONNECT 2400", etc.
  1718.  
  1719.      <E>,<F>,<G>,<H> Modem  no  connect   messages,  defaults  =  BUSY,  NO
  1720.          CARRIER, NO DIAL, and VOICE.  When your  modem  sends  any  of the
  1721.          four messages entered  here,  BOYAN will assume that the attempted
  1722.          dialing was unsuccessful.  If your modem has fewer than  four such
  1723.          messages, just leave the extra spaces blank.
  1724.  
  1725.      <I> Modem error message, default = ERROR.  If BOYAN sees  this message
  1726.          it  will  know  that an error in dialing occurred, and it will not
  1727.          attempt to redial this number.
  1728.  
  1729.      <J> Echo  keyboard,  default  = OFF.  If off, BOYAN will send what you
  1730.          type to the modem only; if  on,  BOYAN  will send what you type to
  1731.          both the modem and the screen.  This may  be  toggled  temporarily
  1732.          during communications with the <Alt-E> command (section 4.1.4).
  1733.  
  1734.  
  1735.  
  1736.    3.7:  <Alt-C> Customizing BOYAN                                       25
  1737.    ________________________________________________________________________
  1738.  
  1739.  
  1740.  
  1741.  
  1742.      <K> Add linefeeds, default =  OFF.    BOYAN  will add linefeeds (extra
  1743.          line spacing) to incoming carriage returns if this  option  is on.
  1744.          While using BOYAN you may temporarily toggle linefeeds  on  or off
  1745.          with the <Shift-Tab> command (section 4.1.10).
  1746.  
  1747.      <L> Default file transfer protocol, default = X.  This is  the default
  1748.          protocol BOYAN will offer  when  the  "Prot"  field in the dialing
  1749.          directory entry has been left blank.  BOYAN version 5 supports the
  1750.          following methods  of  file  transfer:    [X]modem,  [C]RC-Xmodem,
  1751.          [R]elaxed-Xmodem, [1]K-Xmodem, [Y]modem, [G]-Ymodem, and  [A]SCII.
  1752.          These  protocols  are  described  in  section 4.4.1.   BOYAN  also
  1753.          supports  up  to  ten  user-defined  external  protocols,  such as
  1754.          [Z]modem and [K]ermit.   Note  that you can still use any protocol
  1755.          at any time, no matter what the default.
  1756.  
  1757.      <M> Check free disk space before DL, default = YES.  When this is YES,
  1758.          BOYAN will  automatically display the number of bytes available on
  1759.          the  drive  before  downloading  a  file  and  while  viewing  the
  1760.          Directory File Manager.   When  this is NO, you must press <Alt-F>
  1761.          in  the  download  menu  or  Y  in  the  Directory File Manager to
  1762.          accomplish the same result.  If you have a  relatively  slow  hard
  1763.          disk with a large amount of  free  space  on it, you can save some
  1764.          time by setting this option to NO.
  1765.  
  1766.      <N> Auto-find  transfer  filename,  default   =   YES.      With  most
  1767.          communications programs, transferring a file requires you to enter
  1768.          the file's name twice:  once  to  the remote computer, and once to
  1769.          your PC.  One of BOYAN's most handy  features  is  its  ability to
  1770.          "lift" a filename right off the screen, saving you the  trouble of
  1771.          typing  it  twice  (section  4.4.3).   Select OFF to disable  this
  1772.          feature.
  1773.  
  1774.      <O> Auto-detect  message  upload  word wrap, default =  NO.    BOYAN's
  1775.          message upload feature allows you to prepare messages offline with
  1776.          your  word processor and then send them  directly  to  the  remote
  1777.          message system.  Since different systems  allow  different maximum
  1778.          lengths for each  line  of the message, uploaded message sometimes
  1779.          look strangely short on the line, or (worse yet) they  overrun the
  1780.          line,  causing word wrap.  When this feature  is  ON,  BOYAN  will
  1781.          automatically detect when the  remote  system  word wraps; if this
  1782.          happens, BOYAN suppresses the next <Return> character.  This works
  1783.          nicely with text messages,  but  may  cause  graphic boxes and the
  1784.          like  to  align  improperly if the message line is too long.  Note
  1785.          that this feature is disabled by default.
  1786.  
  1787.      <P> Auto-downloading,   default  =  ON.    Downloading  with   certain
  1788.          protocols, such as Zmodem,  MPt,  and  Bimodem, will start without
  1789.          your  having  to  touch the keyboard if this option is  ON.    See
  1790.          section 3.12.1 for a full discussion of auto-downloading.
  1791.  
  1792.  
  1793.  
  1794.    3.8:  <Alt-C> Customizing BOYAN                                       26
  1795.    ________________________________________________________________________
  1796.  
  1797.  
  1798.  
  1799.  
  1800.    3.8  Config Area <E> -- Expert Communications Options
  1801.  
  1802.  
  1803.    Select the option to configure by letter (A-P).
  1804.  
  1805.      <A> Inter-character pacing (ms),  default  = 10.  How many thousandths
  1806.          of a second to delay between sending characters in a  macro, ASCII
  1807.          upload, or Message upload.
  1808.  
  1809.      <B> Line  pacing  (ms),  default  =  20.    An  additional  delay,  in
  1810.          thousandths  of a second, after sending a  Carriage  Return  in  a
  1811.          macro, ASCII upload, or Message upload.
  1812.  
  1813.      <C> Use  CTS/RTS  flow  control, default = NO.  Some high-speed modems
  1814.          support so-called "hardware handshaking," or CTS/RTS flow control,
  1815.          in order to prevent buffer overflows.  If your modem can be set to
  1816.          use CTS/RTS handshaking, you should set this option to YES.
  1817.  
  1818.      <D> Use XON/XOFF flow control, default = NO.   Some  high-speed modems
  1819.          and  networks  support "software handshaking,"  or  XON/XOFF  flow
  1820.          control,  in  order  to  prevent  buffer  overflows.   BOYAN  will
  1821.          recognize and use XON/XOFF controls if this option is set  to YES.
  1822.          Note:  CTS/RTS  flow  control  is  preferable and should  be  used
  1823.          instead of this option, if your modem supports it.
  1824.  
  1825.      <E> Drop  DTR  when  closing communications port, default = YES.  When
  1826.          you exit BOYAN or change comm devices, BOYAN will  drop  the  Data
  1827.          Terminal Ready signal if this option is set to YES.    If you wish
  1828.          to exit BOYAN without losing  your  data  connection,  toggle this
  1829.          option to NO.
  1830.  
  1831.      <F> Auto-detect connect speed, default = YES.  When this is YES, BOYAN
  1832.          will automatically set its baud  rate based on the number returned
  1833.          with  the  modem  connect message after dialing.  In effect, using
  1834.          this option allows you  to  specify  your  highest modem speed for
  1835.          every dialing directory entry,  as  long  as  your modem returns a
  1836.          message with its  connect  speed.    If  your  modem  only reports
  1837.          "CONNECT" and not a baud rate like "CONNECT 1200", then you should
  1838.          set  this option to NO.  You should also set this option to NO  if
  1839.          you are using a high-speed modem with a fixed port speed.
  1840.  
  1841.      <G> Modem carrier  detect  mask  bit,  default  =  7.  Many of BOYAN's
  1842.          features depend  on your modem's ability to accurately reflect its
  1843.          carrier  status.    Most  modems  use  bit  7  of the modem status
  1844.          register to indicate the  presence  of a carrier signal.  For some
  1845.          modems,  you  may  have to type a special command or flick a modem
  1846.          dipswitch to get it to  accurately reflect the carrier status (see
  1847.          section 2.3.2).  If BOYAN seems to think you  are  connected  when
  1848.  
  1849.  
  1850.  
  1851.    3.8:  <Alt-C> Customizing BOYAN                                       27
  1852.    ________________________________________________________________________
  1853.  
  1854.  
  1855.  
  1856.  
  1857.          you aren't, or vice-versa, then as a last resort try changing this
  1858.          number to 5, 4, etc.
  1859.  
  1860.      <H> CD reflects true state of modem, default = YES.  If your modem can
  1861.          accurately maintain the  Carrier  Detect  signal  as  described in
  1862.          section  2.3.2,  then  this option should be YES.  When you try to
  1863.          dial  a number while your modem is  already  reporting  a  carrier
  1864.          signal,  BOYAN will ask you to confirm that  you  really  want  to
  1865.          "dial despite carrier."  If your modem always  forces  the carrier
  1866.          signal high, you will  want  to  eliminate  this prompt by setting
  1867.          this option to NO.
  1868.  
  1869.      <I> Time to wait for connect, default  =  45.  After dialing a number,
  1870.          BOYAN waits this  many  seconds  for  a  carrier  signal,  a modem
  1871.          message, or a keypress.  If the timer expires, BOYAN  assumes that
  1872.          no connection was made.  Note:    many modems have their own timer
  1873.          and will report "NO  CARRIER"  after 30 seconds.  Check your modem
  1874.          manual if you want to modify the modem's internal timer.
  1875.  
  1876.      <J> Time between redials, default =  3.  After an unsuccessful dialing
  1877.          attempt  from  the  queue  redialer,  BOYAN pauses for  this  many
  1878.          seconds before running the "Cycle current dialing"  Auto-macro and
  1879.          then continuing to redial.
  1880.  
  1881.      <K> Script "waitfor" timeout,  default  =  40.    BOYAN's macro/script
  1882.          waitfor commands will wait for  the  number  of  seconds specified
  1883.          here before "timing out"  and  continuing to the next command.  If
  1884.          you  enter  the  maximum   value,   255,   then  BOYAN  will  wait
  1885.          indefinitely for a match.  This  value  can be reset from within a
  1886.          macro or script by the \TO macro.
  1887.  
  1888.      <L> Script keyboard timeout,  default  =  10.   When a script file has
  1889.          control, BOYAN thinks of  itself  as  "unattended" and will accept
  1890.          the  default  response  to  any  keyboard  prompt--but  only after
  1891.          pausing for this many seconds.   During  that pause, if you are at
  1892.          the  keyboard,  you  may edit the default response using the BOYAN
  1893.          Line Editor.  This setting also controls how long BOYAN  will ring
  1894.          the redialing queue connect alarm  before  proceeding  to  run the
  1895.          associated auto-logon script.  This value can be reset from within
  1896.          a macro or script by the \KO macro.
  1897.  
  1898.      <M> Com3 port address (hexadecimal), default = $3E8.  Com3  is  not  a
  1899.          standard IBM serial device,  so  different  add-in devices may use
  1900.          different "addresses" in  memory  for the communications port.  On
  1901.          the  IBM-PC and AT, $3E8 is most often used; on the IBM PS/2, Com3
  1902.          is addressed at $3220.  You will get unpredictable results  if you
  1903.          try  to  use  Com3 when this value is not set properly.  Addresses
  1904.          should be entered in hexadecimal notation, with or  without  a "$"
  1905.          prefix.
  1906.  
  1907.  
  1908.  
  1909.    3.8:  <Alt-C> Customizing BOYAN                                       28
  1910.    ________________________________________________________________________
  1911.  
  1912.  
  1913.  
  1914.  
  1915.      <N> Com3 interrupt (IRQ 2..5), default = 4.  Serial ports can  use IRQ
  1916.          2, 3, 4 or 5 for  their  "interrupt requests."  Your Com3 device's
  1917.          documentation should specify which it uses.
  1918.  
  1919.      <O> Com4  port  address  (hexadecimal),  default  =  $2E8.    See  the
  1920.          description of configuration option <M> above.  On  the  IBM PS/2,
  1921.          Com4 is addressed at $3228.  Attempting to use Com4 if  this value
  1922.          is set incorrectly will cause  unpredictable  results.   Addresses
  1923.          should be entered in hexadecimal notation, with or  without  a "$"
  1924.          prefix.
  1925.  
  1926.      <P> Com4 interrupt (IRQ  2..5),  default  =  3.    Your  Com4 device's
  1927.          documentation should specify which IRQ line it uses.
  1928.  
  1929.  
  1930.    3.9  Config Area <M> -- Macros
  1931.  
  1932.  
  1933.    A BOYAN "macro" is a line of  text,  up  to  80  characters  long, which
  1934.    contains  a  sequence  of  instructions  for  BOYAN  to follow.    BOYAN
  1935.    recognizes  well  over  300  different  two-letter macro commands.    By
  1936.    learning BOYAN's Macro Programming Language,  you  can  customize almost
  1937.    every  aspect  of  BOYAN's operation.  The Macro Programming Language is
  1938.    described in detail in chapter 5.
  1939.  
  1940.    3.9.1  Basic Macro Commands
  1941.  
  1942.  
  1943.    Short of mastering the  Macro  Programming  Language,  you can still use
  1944.    macros in their most basic form.  The simplest macro is just a string of
  1945.    text, such as John Doe.   When  that  macro is executed, BOYAN sends the
  1946.    string John Doe  over  the  modem,  just  as  if  you had typed the name
  1947.    manually.   If  you  assigned  the macro John Doe to a function key (say
  1948.    <F2>), then at any later time you would only need to press <F2>, and the
  1949.    string John Doe would be typed out.
  1950.  
  1951.    The eight characters  " ^ { ~ ` \ %  @  have special meanings in a BOYAN
  1952.    macro.   When any of those characters are used in a macro, they are  not
  1953.    sent directly to the modem, but instead have the following effects:
  1954.  
  1955.       1.  The quotation mark " is used before any of those eight characters
  1956.           if you really do wish that  character  to be sent directly to the
  1957.           modem.  For example, to send a quotation mark, include "" in your
  1958.           macro.  To send a backslash, use "\.
  1959.  
  1960.       2.  The caret ^ is used to send control characters.  For  example, if
  1961.           the string  ^J is found in a macro, BOYAN  will  send a control-J
  1962.           character.  ^[ sends an Escape character.
  1963.  
  1964.  
  1965.  
  1966.    3.9.1:  <Alt-C> Customizing BOYAN                                     29
  1967.    ________________________________________________________________________
  1968.  
  1969.  
  1970.  
  1971.  
  1972.       3.  The left curly brace { is used to send  the  <Return>  character.
  1973.           It is equivalent to the macro command ^M , or typing <Enter> from
  1974.           terminal mode.
  1975.  
  1976.       4.  If the tilde ~ is found in a  macro,  BOYAN  will  pause one-half
  1977.           second before continuing.
  1978.  
  1979.       5.  The backquote ` is ignored unless preceded by  a  quotation mark.
  1980.           It may be used for spacing out BOYAN commands.
  1981.  
  1982.       6.  The backslash \  is  the BOYAN Macro Programming Language command
  1983.           prefix.   BOYAN's macro commands generally take  the  form  of  a
  1984.           backslash followed  by two letters.  These commands, described in
  1985.           chapter  5,  make  it  possible  for  you  to automate  all  your
  1986.           communication needs.
  1987.  
  1988.       7.  The  percent  sign  %  and   at-symbol  @  are  the  BOYAN  Macro
  1989.           Programming Language variable prefixes.    BOYAN  macro variables
  1990.           take the form of  either  a percent sign or at-symbol followed by
  1991.           two letters.  Chapter 5 also covers these variables.
  1992.  
  1993.    Spaces in a macro are ignored when they fall between two  macro commands
  1994.    or at the end of the macro.   However,  they  are  sent literally to the
  1995.    modem when found in the  middle  of  a  string,  such as in Jane Doe.  A
  1996.    macro to send only a single space would be a  quotation  mark " followed
  1997.    by a space.
  1998.  
  1999.    Two backslashes in a row \\  signify  a macro comment; BOYAN ignores any
  2000.    text following those  two  characters.    Many of the 120 built-in BOYAN
  2001.    macros end with comments which help explain their functions.
  2002.  
  2003.    3.9.2  The 120 BOYAN Macros
  2004.  
  2005.    In  Configuration  Area  <M>, there are 120 macros available for config-
  2006.    uration.  Here is a summary of how all 120 macros are arranged:
  2007.  
  2008.     - 1-5:  Dialing commands; Reset  modem parameters; Hang up modem; Cycle
  2009.       current dialing.  These are explained in the next section.
  2010.  
  2011.     - 6-14:    BOYAN  Auto-macros.    The nine Auto-macros help make  BOYAN
  2012.       uniquely  powerful  among  communications  programs.    These  macros
  2013.       automatically "come to life"  at  specific  times during normal BOYAN
  2014.       operations.  They are also explained in the next section.
  2015.  
  2016.     - 15-110:  Keystroke macros.  Every function key and BOYAN  command key
  2017.       is assigned its  own  macro,  which  you can examine and customize to
  2018.       your liking.  This is demonstrated below in section 3.9.4.
  2019.  
  2020.  
  2021.  
  2022.    3.9.2:  <Alt-C> Customizing BOYAN                                     30
  2023.    ________________________________________________________________________
  2024.  
  2025.  
  2026.  
  2027.  
  2028.     - 111-120:  Shortcut macros.  These correspond to the symbols above the
  2029.       top row of digits on the keyboard -- the ! @ # $ % ^ & * ( ) symbols.
  2030.       They  are  shortcuts  because  they  may be invoked within any  other
  2031.       macro, by using the macro command \ plus the symbol.  In other words,
  2032.       if  you  assign macro 113 (#) to the string John Doe,  then  you  can
  2033.       embed the \# string within any  other  macro  to send "John Doe".  If
  2034.       you assign macro 117 (&) to  print  the disk directory and download a
  2035.       file, then including \& within any  macro  or script will do the same
  2036.       thing.  A common  use  for  shortcut  macros is long-distance dialing
  2037.       prefixes.  This is explained in section 4.2.1.5.
  2038.  
  2039.    From the Macro menu, you  may  select  a  group  of 10 macros to view by
  2040.    choosing the appropriate letter from the menu (A-L).  Alternatively, you
  2041.    may go directly into editing a particular macro, by  typing  its  number
  2042.    and pressing <Enter>, or in the  case  of a keystroke or Shortcut macro,
  2043.    just  hitting the appropriate keystroke.  You may  use  the  BOYAN  Line
  2044.    Editor commands while  editing  a  macro  (see  section  2.4.5).   While
  2045.    viewing a screen of BOYAN macros, you may use the <PgUp> and <PgDn> keys
  2046.    to move from screen to screen.
  2047.  
  2048.    3.9.3  Modem Dialing & Auto-macros
  2049.  
  2050.    BOYAN  Macros  1-14  perform basic modem commands  and  other  functions
  2051.    important to BOYAN's routine performance.  Press A to go from  the Macro
  2052.    menu to a list of BOYAN macros 1-10, or B to list macros 11-20.  To edit
  2053.    any  of these, type its number and press <Enter>.  Do not worry if  some
  2054.    of the Auto-macros appear very complex; you can use BOYAN  fully without
  2055.    changing any of them!  For examples of how to customize the Auto-macros,
  2056.    please refer to section 5.3.2.
  2057.  
  2058.      1.  Dialing  command,  default  =  ATDT @SF {.  When you tell BOYAN to
  2059.          dial a number from your Dialing Directory, it does  so  with  this
  2060.          macro, substituting the system's phone number for @SF.
  2061.  
  2062.      2.  Alternate dialing command.   You may enter another dialing command
  2063.          here, using the same format as macro #1.  A system in your Dialing
  2064.          Directory will be dialed using  this alternate macro if you append
  2065.          the letter "a" to its phone number.
  2066.  
  2067.      3.  Reset modem  parameters,  default = \CA-[{~].  BOYAN automatically
  2068.          runs this macro after  you  change the modem's baud rate or parity
  2069.          settings with the <Alt-P> command.   The default uses BOYAN's \CA-
  2070.          macro  command to act as follows:  if there is no carrier (you are
  2071.          not on-line at the time when  you  press <Alt-P>), then it sends a
  2072.          Carriage Return to the modem and pauses for one-half second.
  2073.  
  2074.      4.    Hang   up   modem,   default   =    \DT-    \RE5[\CA+[~]]   \DT+
  2075.          \CA+[+++~~~~ATH{].  When you press <Alt-H> to hang  up  the modem,
  2076.          BOYAN invokes this  macro.    The  default  macro  drops  the Data
  2077.  
  2078.  
  2079.  
  2080.    3.9.3:  <Alt-C> Customizing BOYAN                                     31
  2081.    ________________________________________________________________________
  2082.  
  2083.  
  2084.  
  2085.  
  2086.          Terminal Ready signal (\DT-), then pauses until either the carrier
  2087.          signal drops or 2.5 seconds have elapsed.    After  restoring  the
  2088.          DTR signal (\DT+), if BOYAN still detects a  carrier  signal, then
  2089.          it sends the normal Hayes-compatible hangup command:  +++ , pause,
  2090.          ATH <Enter>.
  2091.  
  2092.      5.   Cycle current dialing, default = { .  Often a modem will take  15
  2093.          or 20 seconds to determine that the number it has dialed  is busy.
  2094.          If  you  have  a modem speaker,  BOYAN  lets  you  manually  cycle
  2095.          (cancel) the dialing attempt as soon as you hear the  busy signal.
  2096.          This macro is  sent  at  that  time.   The default macro sends the
  2097.          <Return> character, which cycles most Hayes-compatible modems.  On
  2098.          Everfax modems, this macro should be changed to A/.
  2099.  
  2100.      6.  After connecting, default = \UM[%SN (%MS baud): %SF].   This Auto-
  2101.          macro  runs  immediately  after  you  connect to any system.   The
  2102.          default simply adds a Usage Message to the BOYAN.USE file with the
  2103.          system name, modem speed, and system phone number.
  2104.  
  2105.      7.  After disconnecting, default = \AL3[0] \RC \SK- \UM[| Disconnected
  2106.          after %SL].  This Auto-macro runs immediately after you disconnect
  2107.          from any system.    The  default  sounds a brief alarm, resets the
  2108.          text  color,  turns  off   the   Secondary   Keyset,  and  adds  a
  2109.          "Disconnected" message to the BOYAN.USE usage file.
  2110.  
  2111.      8.  After a file transfer, default  =  \AL1[1] \UM[| %TI].  BOYAN runs
  2112.          this Auto-macro after any file  transfer.  The default rings alarm
  2113.          #1 for one second, and then adds a message to the usage log with a
  2114.          line of file transfer information (%TI).
  2115.  
  2116.      9.   BOYAN  start-up  macro,  default   =   \DM[   Welcome   to  BOYAN
  2117.          Communications 5! ]  \CA-[ATX4S0=0{] .  This Auto-macro runs right
  2118.          after  you enter BOYAN.  By default, Macro  #9  first  displays  a
  2119.          welcome message,  and then initializes the modem with the ATX4S0=0
  2120.          <Return>  command only if there is  no  carrier  signal  detected.
  2121.          This  initialization string tells most Hayes-compatible modems  to
  2122.          give extended dialing result  codes  and  to  not answer the phone
  2123.          when it rings.  If  your modem requires a different initialization
  2124.          string,  it  should  be inserted in this macro inside the \CA-[..]
  2125.          command.
  2126.  
  2127.      10.  BOYAN conclude macro, default = \LD-.  This Auto-macro runs right
  2128.          after  you  tell  BOYAN you want to exit the program.  The default
  2129.          closes any open log file before exiting.
  2130.  
  2131.      11.  Mouse click macro, default =  \HE.   Here you can specify exactly
  2132.          what BOYAN will do if you click the  left  mouse  button  while in
  2133.          terminal mode.  By default this brings up the Command Menu.
  2134.  
  2135.  
  2136.  
  2137.    3.9.3:  <Alt-C> Customizing BOYAN                                     32
  2138.    ________________________________________________________________________
  2139.  
  2140.  
  2141.  
  2142.  
  2143.      12.  Auto-download, default =  \AT+[\DL-[]].    When the remote system
  2144.          sends a message to begin auto-downloading with a certain protocol,
  2145.          BOYAN makes that protocol the  default protocol and then runs this
  2146.          Auto-macro.    The  default macro checks that no script is running
  2147.          (\AT+[..]) before  starting  the  download  immediately.    If you
  2148.          prefer to  confirm  the  auto-download  before  it  starts, simply
  2149.          remove the minus sign from the \DL command.   Please  see  section
  2150.          3.12.1 for a full discussion of auto-downloading.
  2151.  
  2152.      13.    Printer  init macro, default  =  \PM[====  BOYAN  Printer  Log,
  2153.          %MO/%DA/%YR at %HR:%MI ===={].   When  you  select  the Initialize
  2154.          option  from  BOYAN's  Printer Menu, this Auto-macro  runs.    The
  2155.          default prints a header message with  the  date and time.  You may
  2156.          add control codes to the macro, e.g., \PM[^XB]  to  send <control-
  2157.          X>,<B> to the printer.
  2158.  
  2159.      14.   Log  file init macro, default =  \LM[====  BOYAN  Log  to  Disk,
  2160.          %MO/%DA/%YR at %HR:%MI ====].   This  Auto-macro  runs immediately
  2161.          after you open a log  file.    The  default  macro  logs  a header
  2162.          message with the current date and time.
  2163.  
  2164.    3.9.4  <Alt-K> Function Key Customization
  2165.  
  2166.    Each cursor key, <Alt-letter> or  <Alt-number>  keystroke,  and function
  2167.    key is assigned to a BOYAN  macro,  numbers  15 through 110.  By editing
  2168.    those macros, each  can  be  customized  to perform any BOYAN action you
  2169.    want.    For example, suppose you wanted  to  customize  BOYAN  so  that
  2170.    pressing  the <F9> function key would have the  effect  of  typing  your
  2171.    name, pressing  <Enter>, pausing, then typing your password and pressing
  2172.    <Enter> again.  It's as easy as 1-2-3:
  2173.  
  2174.       1.  Call up BOYAN's Configure Macro menu by pressing  <Alt-K>.   Then
  2175.           select the <F9> keystroke  macro  for  editing by simply pressing
  2176.           <F9>.
  2177.  
  2178.       2.  Type in  the  macro:    John Doe{~%PW{ .  The { symbol causes the
  2179.           macro to send a Carriage Return.  The  tilde  ~  inserts  a half-
  2180.           second  pause.  Finally, %PW is a  Macro  Variable  which  always
  2181.           contains the current system's password.    But  before  you press
  2182.           <Enter> to save your macro...
  2183.  
  2184.       3.  Press <UpArrow> to enter a description of your  macro,  e.g. Type
  2185.           name & password.  Then  press <Enter>.  BOYAN automatically saves
  2186.           your new macro to disk.
  2187.  
  2188.    To escape back to BOYAN's terminal mode, press <Esc> twice.  Now, if you
  2189.    press <Alt-F1>, you will notice that the function key  menu  lists  "F9:
  2190.    Type name & password" as an option.    The  next  time  you  are online,
  2191.    pressing <F9> will send your name and password automatically!
  2192.  
  2193.  
  2194.  
  2195.    3.9.4:  <Alt-C> Customizing BOYAN                                     33
  2196.    ________________________________________________________________________
  2197.  
  2198.  
  2199.  
  2200.  
  2201.    A  function  key  macro  can  do more than just send text:  it  can  run
  2202.    another program, enter a new terminal emulation, download a file, change
  2203.    disk directories, select  a  new  modem  speed,  or  automate  an entire
  2204.    communications  session.   Furthermore, by  editing  the  pre-programmed
  2205.    BOYAN command macros, you can customize BOYAN's keyboard layout entirely
  2206.    to your own taste.  Chapter 5 covers BOYAN's Macro Programming Language.
  2207.  
  2208.  
  2209.    3.10  Config Area <A> -- BOYAN Action Modules
  2210.  
  2211.  
  2212.    BOYAN Action Modules (BAMs)  are  stored in the BOYAN directory as files
  2213.    with  the  ".BAM"  suffix.  The Action Modules included with BOYAN 5 are
  2214.    ADM-3A, ANSI-BBS, CONTROL, DOORWAY,  DUMBTERM,  GOSSIP,  HOST, IBM-3101,
  2215.    TVI-925, VT-52, and VT-100.  These  are  described in section 4.3.  When
  2216.    additional Action Modules are  written  for BOYAN 5, the .BAM files will
  2217.    be  available  for  download from the BOYAN Support BBS, and they may be
  2218.    easily integrated into BOYAN 5.
  2219.  
  2220.    Configuration Area <A> has  two  functions:  to maintain BOYAN's list of
  2221.    available Action  Modules; and to perform special configuration for each
  2222.    individual module.
  2223.  
  2224.    3.10.1  BAM Selection
  2225.  
  2226.    The  top  four  items on the configuration screen are the same no matter
  2227.    what BAM is currently active:
  2228.  
  2229.      <A> Add action module to list.  When new BAM  files  become  available
  2230.          for use with BOYAN, you tell  BOYAN  5 to recognize them by adding
  2231.          their  name to the list.  You must choose a single letter or digit
  2232.          to represent the new action module in menus.
  2233.  
  2234.      <B> Remove action module from list.  If there are .BAM files which you
  2235.          never use, you may save a bit of time and  disk  space by deleting
  2236.          those files from the disk and then removing their names  from this
  2237.          list.
  2238.  
  2239.      <C> Change  current  action  module.  This option allows you to select
  2240.          the current action module,  just  as if you were choosing from the
  2241.          <Alt-A> menu.    The  lower  half  of  the screen will reflect the
  2242.          special configuration options for the newly-selected BAM.
  2243.  
  2244.      <D> Change default action module (default = ANSI-BBS).  BOYAN will use
  2245.          the BAM you select here automatically at start-up.    For example,
  2246.          if  you want BOYAN to be in Gossip Mode at start-up, touch G after
  2247.          selecting option D.  Note:   the  DOORWAY and HOST modules may not
  2248.          be used as the default BAM.
  2249.  
  2250.  
  2251.  
  2252.    3.10.2:  <Alt-C> Customizing BOYAN                                    34
  2253.    ________________________________________________________________________
  2254.  
  2255.  
  2256.  
  2257.  
  2258.    3.10.2  Terminal Emulation Configuration
  2259.  
  2260.    The  lower  half  of the screen in Config Area <A> shows special options
  2261.    available for the currently-selected BAM.  If you use option C to select
  2262.    another BAM, a new set of special options will appear there.
  2263.  
  2264.    Each terminal emulation BAM (ADM-3A, ANSI-BBS, IBM-3101, TVI-925, VT-52,
  2265.    and VT-100) offers a selection of options from the list below:
  2266.  
  2267.     - Edit secondary keyset.  The  secondary keyset changes the meanings of
  2268.       the function and cursor keys while <Scroll Lock> is locked.  Pressing
  2269.       E brings up a menu in which all of the special keyboard functions can
  2270.       be customized to the particular BAM.  Configuring these keys works in
  2271.       exactly  the  same  way  as  configuring BOYAN's primary  keyset,  as
  2272.       described above in section 3.9.4.  For a complete description  of how
  2273.       to redefine  the terminal emulation keysets, please refer to Appendix
  2274.       D.  Press <Esc> to return to Config Area <A>.
  2275.  
  2276.     - Swap Backspace/Del  keys,  default  =  NO.    When this option is NO,
  2277.       pressing <backspace> sends the standard BS character (ASCII 8), while
  2278.       pressing <Del> sends the DEL character,  ASCII  127.  If you set this
  2279.       option to YES,  the  two  keys  will be switched, so that <backspace>
  2280.       sends DEL and <Del> sends BS.  This  is  useful  on  mainframes which
  2281.       require the DEL character to delete backwards.
  2282.  
  2283.     - Wrap  long  lines, default = YES.  Lines of text with  more  than  80
  2284.       characters on them are wrapped to the next  line  if  this  option is
  2285.       YES, or truncated at the 80th column if this option is NO.
  2286.  
  2287.     - Backspace at column 1, default = NO.  (TVI-925 emulation only)   When
  2288.       this  is ON, a backspace received when the cursor is on column 1 will
  2289.       cause the cursor  to  "back  up"  to  column 80 of the previous line.
  2290.       When OFF, such a backspace has no effect.
  2291.  
  2292.    3.10.3  Host Mode Configuration
  2293.  
  2294.    The BOYAN Host  Mode  uses  both  the  HOST.BSC script file and the HOST
  2295.    Action Module.  The Action Module provides five configurable options:
  2296.  
  2297.      <E> Edit host user database.  Up  to  70  host users may be entered in
  2298.          this   sub-menu.      Each   entry    should    have    the   form
  2299.          Firstname Lastname;password;# where #  is that person's user level
  2300.          (0,1,  or  2).   After the user level, you may  also  add  another
  2301.          semicolon followed by any text.  The following is an example entry
  2302.          in the Host user database:
  2303.  
  2304.               Justin Boyan;ibm-pc;2; hasn't called since August
  2305.  
  2306.  
  2307.  
  2308.    3.10.3:  <Alt-C> Customizing BOYAN                                    35
  2309.    ________________________________________________________________________
  2310.  
  2311.  
  2312.  
  2313.  
  2314.          The HOST script automatically adds  new users to this database and
  2315.          assigns  them a user level of 0.  Technical note:  for purposes of
  2316.          the  \TV  and  \TM  macro  commands,  the  host user  database  is
  2317.          considered a "secondary keyset," where each user entry corresponds
  2318.          to a keyset macro numbered 41 through 110.
  2319.  
  2320.      <F> Host message directory, default = HOST.  The host  will  use  this
  2321.          directory for  storing user-written public messages as well as the
  2322.          file of private comments to the operator.
  2323.  
  2324.      <G> Host files directory, default  =  HOST\FILES.    The host will use
  2325.          this directory for file transfers.  This should not be the same as
  2326.          the  BOYAN  home  directory, so that  level  1  callers  will  not
  2327.          download the host database file with the passwords in it!
  2328.  
  2329.      <H> Number of phone  rings,  default  =  1.   The host will answer the
  2330.          phone after seeing this many "RING" messages from the modem.
  2331.  
  2332.      <I> Connection is by modem, default = YES.  If you are  establishing a
  2333.          direct link between two computers, and wish the host to bypass its
  2334.          normal procedure of waiting  for  the  phone  to ring, then change
  2335.          this option to NO.
  2336.  
  2337.      <J> Local test mode, default = OFF.  When local test  mode  is ON, all
  2338.          text which is normally sent over the modem is  displayed  on  your
  2339.          screen  instead.  In this way, you can test the host mode from the
  2340.          keyboard exactly as if you were operating it remotely.
  2341.  
  2342.  
  2343.    3.11  Config Area <T> -- Translation/filter table
  2344.  
  2345.  
  2346.    The ASCII character  translation  and  filter  table is used if you want
  2347.    BOYAN automatically to change or remove incoming characters.  Directions
  2348.    for using the translation table are on the screen.  Pressing  <F1> gives
  2349.    you instant access to  an  ASCII reference chart, which assigns a number
  2350.    between 0 and 255 to each letter and symbol.
  2351.  
  2352.    Example 1:  If the square-root symbol (char #251) appears erratically on
  2353.    your screen during a bad line connection, you could  have  BOYAN  simply
  2354.    filter it out.  Type F 251 <Enter>.
  2355.  
  2356.    Example 2:  You want the ASCII "DEL" character (#127) to  be interpreted
  2357.    as a backspace (#8) when it is received.  Type T 127 <Enter> 8 <Enter>.
  2358.  
  2359.    Example 3:  After connecting to  a  mainframe, your screen fills up with
  2360.    graphics symbols and foreign  letters.   One way to correct this problem
  2361.    is to use a modem parity setting of Even instead of  None  (this  can be
  2362.    changed in the dialing directory).  Another solution is to select "Strip
  2363.  
  2364.  
  2365.  
  2366.    3.11:  <Alt-C> Customizing BOYAN                                      36
  2367.    ________________________________________________________________________
  2368.  
  2369.  
  2370.  
  2371.  
  2372.    8th bit" in the translate/filter table.  This option converts  all ASCII
  2373.    characters with codes greater than  128  to  regular  non-graphics ASCII
  2374.    characters.
  2375.  
  2376.    The "D" option from the translate/filter table allows you to  tell BOYAN
  2377.    whether or not to obey the translate table by default, that  is, whether
  2378.    the translate  table  should  be  on or off when BOYAN starts.  During a
  2379.    communication session you may turn the translation table on  or  off  at
  2380.    any time by pressing <Alt-T>.
  2381.  
  2382.  
  2383.    3.12  Config Area <X> -- External File Transfer Protocols
  2384.  
  2385.  
  2386.    BOYAN provides built-in support  for  the  Xmodem,  Relaxed-Xmodem, CRC-
  2387.    Xmodem,  1K-Xmodem,  ASCII,  Ymodem,  and  G-Ymodem   methods   of  file
  2388.    transmission.   However, BOYAN can also support  up  to  ten  additional
  2389.    protocols by calling external  programs.    BOYAN comes preconfigured to
  2390.    support  Kermit  (via  PCKERMIT),  Zmodem  and  Ymodem-batch  (via DSZ),
  2391.    Compuserve Quick-B (via OZBEXT), Sealink,  Megalink,  MPt,  and Bimodem.
  2392.    (Please note:   these  external protocols are copyrighted software, with
  2393.    ShareWare license  agreements  independent  of  that  of  BOYAN Communi-
  2394.    cations.)  Furthermore,  any  additional protocol may be configured into
  2395.    BOYAN.  BOYAN's procedure for using external protocols is as follows:
  2396.  
  2397.       1.  Check that the  external  program exists in the External Protocol
  2398.           directory (specified in Config Area <D>).
  2399.  
  2400.       2.  Set the  current  DOS  drive  and  directory  to be the upload or
  2401.           download directory.
  2402.  
  2403.       3.  Execute a user-defined macro which shells to the external program
  2404.           with all necessary parameters.
  2405.  
  2406.       4.  When  the  transfer  is  complete,  change back to  the  previous
  2407.           default drive and directory,  and  return  to  the "Communication
  2408.           ready" screen.
  2409.  
  2410.    BOYAN  needs to know seven pieces of  information  about  each  external
  2411.    protocol  you  wish  to configure.  To help explain, suppose you want to
  2412.    add the fictitious "Vmodem" protocol,  which is supported by an external
  2413.    program  named  VMODEM.EXE.    Vmodem  transfers  are  initiated by  the
  2414.    following DOS commands:
  2415.  
  2416.         Upload:   VMODEM -speed #### -send FILENAME.EXT
  2417.         Download: VMODEM -speed #### -receive FILENAME.EXT
  2418.  
  2419.  
  2420.  
  2421.    3.12:  <Alt-C> Customizing BOYAN                                      37
  2422.    ________________________________________________________________________
  2423.  
  2424.  
  2425.  
  2426.  
  2427.    Here is how you would fill in the information BOYAN needs:
  2428.  
  2429.     - A protocol  name  of  up  to twelve letters: Vmodem.  This is how the
  2430.       protocol will be  identified  in  the  protocol menu and in the usage
  2431.       log.
  2432.  
  2433.     - A menu selection letter (or digit): V.  This letter  will  be used to
  2434.       select  the  protocol  from the protocol menus and in macro commands.
  2435.       If  you choose X, R, C, 1, Y, G, A, or M,  then  the  internal  BOYAN
  2436.       protocol corresponding to that letter will be overridden.
  2437.  
  2438.     - The name of the  external  file which is responsible for handling the
  2439.       transfer: VMODEM.EXE.  BOYAN makes sure that this file is present (in
  2440.       the external protocol  directory)  before allowing you to select this
  2441.       protocol.
  2442.  
  2443.     - Batch  protocol:  NO.    Protocols   more   sophisticated   than  our
  2444.       hypothetical  Vmodem  receive  download  filename(s) from the sending
  2445.       program, in which case this option can be set to YES.  Note, however,
  2446.       that you must select NO if you want  BOYAN  to  record  file transfer
  2447.       information in the usage log; when YES is selected, BOYAN has  no way
  2448.       of knowing what file(s) have been downloaded.
  2449.  
  2450.     - Auto-download string: can be left blank.  (See section 3.12.1 below.)
  2451.  
  2452.     - Upload  macro:  \DC-[%P:VMODEM -speed %MS -send %TF].  Most  external
  2453.       file-transfer programs require parameters after the filename  to tell
  2454.       them the modem  device (port 1, 2, 3, or 4), the modem speed, and the
  2455.       name of the file to transfer.    Use the format \DC-[%P:progname .. ]
  2456.       for each upload  macro.    Handy  Macro Variables for an upload macro
  2457.       include:
  2458.  
  2459.       %P:                 the name of the external protocol directory
  2460.  
  2461.       %TF                 The transfer filename
  2462.  
  2463.       %MD                 Modem Device number (1, 2, 3, or 4)
  2464.  
  2465.       %MS                 Modem Speed (300, 1200, ..., 38400)
  2466.  
  2467.       %MP                 Modem Parity (N, E, or O)
  2468.  
  2469.       %MA                 Modem port address in hexadecimal
  2470.  
  2471.       %MN                 Modem interrupt IRQ line (2, 3, 4, or 5)
  2472.  
  2473.     - Download macro: \DC-[%P:VMODEM -speed %MS -receive %TF].
  2474.  
  2475.  
  2476.  
  2477.    3.12.1:  <Alt-C> Customizing BOYAN                                    38
  2478.    ________________________________________________________________________
  2479.  
  2480.  
  2481.  
  2482.  
  2483.    Refer  to  the predefined macros and to  the  help  screen  for  further
  2484.    information.  Although protocol configuration  can be complex, it is yet
  2485.    another of the features that makes BOYAN uniquely flexible.
  2486.  
  2487.    3.12.1  Auto-downloading
  2488.  
  2489.    Suppose  you  have  reached  a  BBS  and have told it that you  want  to
  2490.    download a file using Zmodem.   It  usually  gives you a message such as
  2491.    "Sending FOO.ZIP--start the download  on  your end now."  Then it starts
  2492.    the  actual  Zmodem  file  transfer,  which always begins with the  four
  2493.    characters <Ctrl-X>,B,0,0.
  2494.  
  2495.    Those particular four characters rarely  occur  in  a  sequence together
  2496.    except at  the  start  of  a  Zmodem  transfer.  What BOYAN can do is to
  2497.    always "keep a lookout" for that four-character sequence.  When  it sees
  2498.    it, it starts the  Zmodem  download  right  away--without your having to
  2499.    lift a finger.  This is the essence of auto-downloading.
  2500.  
  2501.    In fact, BOYAN can keep a lookout for up to ten  different auto-download
  2502.    sequences, one for each  external  protocol  specified  in Configuration
  2503.    Area  <X>.  Each sequence may contain a  maximum  of  seven  characters.
  2504.    Control  characters  should  be entered as a caret ^ plus the letter; to
  2505.    specify a caret itself as  part  of  the  sequence,  enter "^.    If the
  2506.    desired auto-download  sequence is more than seven characters long, just
  2507.    choose any seven-character subsequence:  the important criterion is that
  2508.    the sequence be unlikely to occur except when starting a download.
  2509.  
  2510.    What actually happens when BOYAN recognizes one of the ten auto-download
  2511.    sequences  is this:  it sets the default protocol (%DP) to the letter of
  2512.    the protocol detected, and then executes BOYAN Auto-macro #12 (described
  2513.    in section 3.9.3).  Auto-downloading  may be disabled by toggling option
  2514.    P in Config Area <C>, or with BOYAN Macro Command \AU-.
  2515.  
  2516.  
  2517.  
  2518.  
  2519.  
  2520.  
  2521.  
  2522.  
  2523.  
  2524.  
  2525.  
  2526.  
  2527.  
  2528.  
  2529.  
  2530.                                   Chapter 4
  2531.  
  2532.                           BOYAN Command Capabilities
  2533.  
  2534.  
  2535.    When  BOYAN is in terminal mode, it lets  you  communicate  through  the
  2536.    modem without obstruction.  However,  at all times BOYAN's many commands
  2537.    are one keystroke away.  This chapter describes in detail how to use the
  2538.    BOYAN commands.
  2539.  
  2540.  
  2541.    4.1  Basic Commands
  2542.  
  2543.  
  2544.    4.1.1  <F1> Help Menu
  2545.  
  2546.    While  in terminal mode, pressing <F1> brings up  a  menu  of  available
  2547.    BOYAN commands.  The menu is split into five categories:   Modem, Action
  2548.    Module, Utility, Dos & File, and Toggles.   Note that the current ON/OFF
  2549.    status for each of the toggles is displayed.
  2550.  
  2551.    To execute a command, type the  keystroke  to the right of the command's
  2552.    description.  To view the help  screen  index  and gain access to all of
  2553.    BOYAN's  help screens, press <F1> again (see section  2.4.3).    If  you
  2554.    prefer  to  return  to terminal mode without executing a command, simply
  2555.    press <Esc>.
  2556.  
  2557.    Mouse  users:  on this menu and all others, you may make a selection  by
  2558.    pointing to a command and clicking the left mouse button.
  2559.  
  2560.    4.1.2  <Alt-F1> Function Key Menu
  2561.  
  2562.    Pressing  <Alt-F1> brings up a menu of 40 function keys.  You may select
  2563.    commands from this menu just as from the <F1> main help menu.
  2564.  
  2565.    What is special about this menu is that each of  the  40 descriptions is
  2566.    user-definable.   To change the description of  a  function  key,  press
  2567.    <Alt-K>, the function key itself, and then <UpArrow>.  Refer  to section
  2568.    5.3 for many examples of user-defined keys.
  2569.  
  2570.  
  2571.  
  2572.    4.1.3:  BOYAN Command Capabilities                                    40
  2573.    ________________________________________________________________________
  2574.  
  2575.  
  2576.  
  2577.  
  2578.    4.1.3  <Alt-B> Beeps & Bells Toggle
  2579.  
  2580.    The Beeps  and  Bells  setting  is a toggle, taking the value ON or OFF.
  2581.    When BOYAN starts,  it  will  set  this toggle to its configured default
  2582.    (section  3.5).  Note that the alarms will still sound even if the Beeps
  2583.    and  Bells  toggle  is OFF.   To  silence  BOYAN  completely,  you  must
  2584.    configure the Alarm Volume to 0, as well as turn Beeps and Bells OFF.
  2585.  
  2586.    4.1.4  <Alt-E> Echo Keyboard Toggle
  2587.  
  2588.    When the Echo Keyboard Toggle is switched OFF, every character  you type
  2589.    is sent to the modem only.  When this toggle is  ON,  each  character is
  2590.    sent to  both  the  modem  and  the  local screen.  If you see double of
  2591.    everything you type, or if you can't  see  what  you  type  at  all, try
  2592.    pressing <Alt-E>.  You may set BOYAN's initial value for this  toggle in
  2593.    section 3.7.
  2594.  
  2595.    4.1.5  <Alt-G> 43/50-Line Mode
  2596.  
  2597.    Normally,  when  this  toggle is OFF, BOYAN displays 25 lines of text on
  2598.    the screen  whether  your  adapter  is  a  Monochrome, CGA, EGA, or VGA.
  2599.    However, if you have an EGA or VGA adapter, you  may  "grab" more screen
  2600.    lines  by pressing <Alt-G>.  An EGA screen will then display 43 lines; a
  2601.    VGA, 50 lines.  Note that BOYAN menus and help  screens  will still only
  2602.    use the top 25 lines, except for the Scroll-back buffer,  which utilizes
  2603.    the whole screen.  Press <Alt-G> again to return to a 25-line screen.
  2604.  
  2605.    4.1.6  <Alt-O> Restore Default Text Color
  2606.  
  2607.    If a system sends an ANSI Graphics or other terminal emulation code that
  2608.    changes the text color, you can change it back to its configured default
  2609.    by pressing <Alt-O>.
  2610.  
  2611.    4.1.7  <Alt-T> Translation Table Toggle
  2612.  
  2613.    When this toggle is selected ON, BOYAN will translate or filter incoming
  2614.    ASCII characters as  specified  in the translation table (section 3.11).
  2615.    When OFF, all characters are displayed without modification.
  2616.  
  2617.    4.1.8  <Alt-X> Exit BOYAN
  2618.  
  2619.    When you have finished a BOYAN session and wish to quit,  press <Alt-X>.
  2620.    Press Y to verify the exit, or N to stay in BOYAN.   If  you  exit while
  2621.    still connected through the modem, you  will  be given a message to that
  2622.    effect.  The  modem port will be closed, and the DTR signal will be held
  2623.    or dropped depending on your configuration (see section 3.8).
  2624.  
  2625.  
  2626.  
  2627.    4.1.9:  BOYAN Command Capabilities                                    41
  2628.    ________________________________________________________________________
  2629.  
  2630.  
  2631.  
  2632.  
  2633.    Be careful not  to  confuse  this  command  with the <Alt-J> Jump to Dos
  2634.    command (section 4.6.2), which lets  you enter DOS temporarily but keeps
  2635.    BOYAN in memory.
  2636.  
  2637.    4.1.9  <Alt-Z> Zap (Clear) Screen
  2638.  
  2639.    To clear the current screen of text, press  <Alt-Z>.    The  status line
  2640.    will remain intact.
  2641.  
  2642.    4.1.10  <Shift-Tab> Add Linefeeds Toggle
  2643.  
  2644.    When this option is ON, BOYAN adds linefeeds to  all  incoming  carriage
  2645.    returns; when OFF, all carriage returns are processed  as  is.    If all
  2646.    text is double spaced, or if all text is overprinted  on  the same line,
  2647.    try pressing <Shift-Tab>.  You may set BOYAN's initial  value  for  this
  2648.    toggle in section 3.7.
  2649.  
  2650.  
  2651.    4.2  Modem Commands
  2652.  
  2653.  
  2654.    4.2.1  <Alt-D> Dial a System
  2655.  
  2656.    BOYAN makes it simple to make connections through an auto-dialing modem,
  2657.    either  with a phone number entered manually or a number from one of its
  2658.    200-entry  dialing directories.  Before using  the  <Alt-D>  command  to
  2659.    dial, be sure that your modem's dialing commands are properly configured
  2660.    (section 3.9.3).  When you press <Alt-D>, the dialing directory appears,
  2661.    and you are prompted to "Enter a phone number or a  command."    You may
  2662.    now either 1) enter  a  full  phone  number to dial manually; 2) enter a
  2663.    code number between 1 and 200  to  dial  a system from the directory; or
  2664.    3) press any of BOYAN's dialing option keys.
  2665.  
  2666.    4.2.1.1  Manual Dialing
  2667.  
  2668.  
  2669.    Automatic  dialing from the BOYAN directory  has  many  advantages  over
  2670.    manual dialing:   BOYAN  automatically  sets  the  parameters, maintains
  2671.    information  about  the  system,  and  lets you abbreviate with a  short
  2672.    dialing  code  number.    Nevertheless,  manual  dialing   is  sometimes
  2673.    convenient if you  wish  to  just  try a system once without permanently
  2674.    changing your directory.    To  dial  manually,  first  use  the <Alt-P>
  2675.    command to set the modem's parameters  to  the proper values.  Then dial
  2676.    by typing <Alt-D>, the system's full number, and <Enter>.   What happens
  2677.    next is explained below in section 4.2.1.3.
  2678.  
  2679.  
  2680.  
  2681.    4.2.1.2:  BOYAN Command Capabilities                                  42
  2682.    ________________________________________________________________________
  2683.  
  2684.  
  2685.  
  2686.  
  2687.    4.2.1.2  Code Number Dialing
  2688.  
  2689.    To  dial  a  system  which  has  already  been  entered into the Dialing
  2690.    Directory, select the entry either by using the cursor keys or by simply
  2691.    typing its code  number  (1-200);  then  press <Enter>.  If the system's
  2692.    baud  rate and parity are different from  the  current  settings,  BOYAN
  2693.    automatically adjusts the  settings  and runs the Reset Modem Parameters
  2694.    macro (#3).  Then BOYAN dials the number.
  2695.  
  2696.    4.2.1.3  After Dialing
  2697.  
  2698.  
  2699.    After BOYAN has  dialed  a  number  in  either of the two ways described
  2700.    above, it waits for 45 seconds (to change this, see section 3.8) for the
  2701.    modem to return a message.  BOYAN chooses one of several paths depending
  2702.    on what happens in those 45 seconds:
  2703.  
  2704.       1.  If you press the <Esc> key, BOYAN's dialing procedure is aborted,
  2705.           and control is immediately returned to you in terminal mode.  The
  2706.           modem may still be trying to establish a connection.
  2707.  
  2708.       2.  If the modem returns an error message, BOYAN cycles (cancels) the
  2709.           current  dialing  attempt   with  the  Cycle  Dialing  Auto-macro
  2710.           (section 3.9.3) and returns you to terminal mode.
  2711.  
  2712.       3.  If  you  press  <space>, or the 45-second  timer  expires,  BOYAN
  2713.           cycles the current  dialing  attempt with the Cycle Dialing Auto-
  2714.           macro; adds or updates  the  number  in  the redialing queue; and
  2715.           then returns you either to the dialing directory  or  to terminal
  2716.           mode,  depending  on  how you have configured the "Return to Dial
  2717.           Dir if no connect" option (section 3.5).
  2718.  
  2719.       4.  If  the modem returns one of  the  no-connect  messages  (section
  2720.           3.7):  BOYAN adds  or  updates the number in the redialing queue,
  2721.           and then returns  you  to  either  the  dialing  directory  or to
  2722.           terminal mode as you have configured.
  2723.  
  2724.       5.  If BOYAN detects carrier  or  sees the connect message:  you have
  2725.           connected!   If the auto-speed-detect feature is on, BOYAN checks
  2726.           the connect message and  sets  the  baud  rate appropriately.  It
  2727.           then starts an elapsed-time-of-call timer.    If  the  number was
  2728.           dialed by a directory code,  then  the  appropriate  BOYAN Action
  2729.           Module is invoked, and  the  linked  logon  script file will take
  2730.           control if one was specified.  BOYAN also displays the  last date
  2731.           you connected to this system.  Finally, if this number was in the
  2732.           redialing queue (section 4.2.4),  it  is  removed from the queue.
  2733.           BOYAN then returns control to you.
  2734.  
  2735.  
  2736.  
  2737.    4.2.1.4:  BOYAN Command Capabilities                                  43
  2738.    ________________________________________________________________________
  2739.  
  2740.  
  2741.  
  2742.  
  2743.    BOYAN's ability to dynamically add and delete numbers from the redialing
  2744.    queue is very powerful.  Instructions for redialing from the  queue with
  2745.    the <Alt-Q> command are in section 4.2.4.
  2746.  
  2747.    4.2.1.4  Dialing Directory Options
  2748.  
  2749.  
  2750.    BOYAN can maintain multiple dialing  directories of 200 entries each for
  2751.    your most  frequently-dialed systems.  The directory display consists of
  2752.    the directory page number, a chart  of  20  of the system entries, and a
  2753.    brief help line.  For each entry, BOYAN displays its name, phone number,
  2754.    BOYAN Action Module letter,  logon  script  file name, default protocol,
  2755.    baud rate, parity setting, and last connect date.
  2756.  
  2757.    BOYAN  also  maintains  a separate .PWD  file  which  stores  a  private
  2758.    password for each entry.  An  entry's  password is visible only when you
  2759.    select  E to edit that entry, but a diamond in the "PW" column indicates
  2760.    that a password has been entered.
  2761.  
  2762.    BOYAN provides many options for maintaining the Dialing Directory; these
  2763.    are  described  below.   If you delete an entry accidentally or make any
  2764.    other mistake while editing the Dialing Directory, you may use  the Undo
  2765.    command to revert to the last-saved  copy  of  the .FON file.  After you
  2766.    exit the directory  (by  dialing  a  number  or  pressing  <Esc>), BOYAN
  2767.    automatically saves all the changes you made, and they can no  longer be
  2768.    undone.
  2769.  
  2770.     - <F1>:  view Help Screen.
  2771.  
  2772.     - <Home>, <End>:  Go to beginning or end of directory.
  2773.  
  2774.     - <UpArrow>, <DownArrow>:  Move the scroll bar up or down.
  2775.  
  2776.     - <PgUp>, <PgDn>:  Move scroll bar by page.
  2777.  
  2778.     - <Enter>:  Dial the entry under the scroll bar.
  2779.  
  2780.     - <space>:  Add the entry under the scroll bar to the  Redialing Queue,
  2781.       or  remove it from the Queue if it is already there.  A small  square
  2782.       next to the entry's code number indicates that the entry is currently
  2783.       in the Queue.
  2784.  
  2785.     - <Esc> or mouse right button:  Return to terminal mode.
  2786.  
  2787.     - mouse left button:
  2788.  
  2789.        * single click:  Set scroll bar at the mouse cursor position.
  2790.  
  2791.        * hold down and drag:  Move scroll bar up or down with mouse.
  2792.  
  2793.  
  2794.  
  2795.    4.2.1.4:  BOYAN Command Capabilities                                  44
  2796.    ________________________________________________________________________
  2797.  
  2798.  
  2799.  
  2800.  
  2801.        * double-click on entry's name or phone number:  Dial the entry.
  2802.  
  2803.        * double-click  on entry's code number (at  left  edge  of  screen):
  2804.          Add/remove entry from Redialing Queue, like <space>.
  2805.  
  2806.        * single click on menu  line:   Select option from choices listed on
  2807.          line 24 of the screen.
  2808.  
  2809.     - <Alt+letter>:  Move the  scroll  bar directly to the next entry whose
  2810.       system name starts with  that  letter.  For example, press <Alt-E> to
  2811.       move the scroll bar down to the next entry starting with "E".
  2812.  
  2813.     - Alphabetize:  Sort a range of entries by name, phone number,  or last
  2814.       connect date.  BOYAN offers three ways to sort:
  2815.  
  2816.       Name                Increasing order by System Name.
  2817.  
  2818.       Phone               Increasing  order by  phone  number,  with  short
  2819.                           (local) numbers preceding longer numbers.
  2820.  
  2821.       Date                Decreasing order by last connect date.  Note that
  2822.                           BOYAN version 5  Dialing Directories do store the
  2823.                           year as well as  the  month  and  day of the last
  2824.                           connection.
  2825.  
  2826.       Finally,  specify  the first and last entries  in  the  range  to  be
  2827.       sorted.  The sorting process may take several seconds to complete.
  2828.  
  2829.     - Baud  rate  fill:   To change the baud rate setting for a consecutive
  2830.       range of entries all at once,  press  B.   Specify the range to fill;
  2831.       then select the desired baud  rate by pressing <space> repeatedly and
  2832.       then <Enter>; or, if you prefer, select by digit:  [3]=300, [1]=1200,
  2833.       [2]=2400, [4]=4800, [9]=9600, [0]=19200, or [8]=38400.
  2834.  
  2835.     - Clone directory:  This command creates a new .FON file whose contents
  2836.       are exactly  the  same  as  the  current  Dialing Directory.  Use the
  2837.       NewFON option to create a new, empty .FON directory.
  2838.  
  2839.     - <Del>:  Delete the single entry under the scroll bar.    The entry is
  2840.       saved to BOYAN's "clipboard."  Later, you can use <Ctrl-P> to "paste"
  2841.       the entry back into the directory or even into  a  different  Dialing
  2842.       Directory.    Combined  with the <Ins> command, this provides a handy
  2843.       way to move an entry wherever you want in the directory.
  2844.  
  2845.     - Delete range:  Specify the first and last  entries  in  the  range to
  2846.       delete.  Those entries and all entries between them will  be deleted,
  2847.       and the rest of the directory  entries  will shift up to their place.
  2848.       (Also  see  the  <Ctrl-X> "Exchange ranges"  command.)    To  undo  a
  2849.       mistaken Delete, press U immediately!
  2850.  
  2851.  
  2852.  
  2853.    4.2.1.4:  BOYAN Command Capabilities                                  45
  2854.    ________________________________________________________________________
  2855.  
  2856.  
  2857.  
  2858.  
  2859.     - Edit selected entry: use the cursor keys to highlight  an  entry  for
  2860.       editing,  then press E..  You will prompted to edit each field of the
  2861.       entry.  While entering/editing an entry, all of  BOYAN's  normal Line
  2862.       Editor commands (section 2.4.5) are valid, as well as:
  2863.  
  2864.       <Enter>             continue forward to the next field;
  2865.  
  2866.       <UpArrow>           return to the previous field;
  2867.  
  2868.       <PgDn>              accept the entry; and
  2869.  
  2870.       <Esc>               abort the changes you have made.
  2871.  
  2872.       The fields for each entry are:
  2873.  
  2874.       System Name         The system's name, for your own reference.
  2875.  
  2876.       Phone Number        The full phone number.  Special  commands  may be
  2877.                           included within the number:
  2878.  
  2879.                            - If  you  wish  to  use a long-distance dialing
  2880.                              prefix,  you  may  insert  a Shortcut macro as
  2881.                              described in section 4.2.1.5.
  2882.  
  2883.                            - To make the modem pause during dialing, insert
  2884.                              a comma wherever you want  a  pause  to occur,
  2885.                              e.g.:  9,,555-1212.
  2886.  
  2887.                            - To  select  BOYAN's  alternate dialing command
  2888.                              for this system, append the  letter  a  to the
  2889.                              end  of  the  phone  number, e.g.:  730-2917a.
  2890.                              After you press <Enter>, the a will  appear as
  2891.                              the  character  Âª.    The  letter  "a"  is not
  2892.                              actually sent to  the  modem  as  part  of the
  2893.                              phone number; rather,  it signals BOYAN to use
  2894.                              Macro #2 instead of Macro #1 when dialing this
  2895.                              system.    To  learn  how to configure dialing
  2896.                              command macros, see section 3.9.3.
  2897.  
  2898.       BAM                 (BOYAN Action Module)  A single letter  to assign
  2899.                           a special BAM to this entry, or just  a  space to
  2900.                           use  the  default  BAM.  If you wish to specify a
  2901.                           special BAM, choose from the list on  Help Screen
  2902.                           F (press  <F1>  to  view).    Action  Modules are
  2903.                           described in section 4.3.
  2904.  
  2905.       Script              The  name  of an auto-logon  script  file,  which
  2906.                           BOYAN will automatically run whenever you connect
  2907.                           to this system.  (BOYAN can  "learn"  such script
  2908.  
  2909.  
  2910.  
  2911.    4.2.1.4:  BOYAN Command Capabilities                                  46
  2912.    ________________________________________________________________________
  2913.  
  2914.  
  2915.  
  2916.  
  2917.                           files automatically; refer to section 4.7.3.)  If
  2918.                           you have  not  created  a  logon  script  for the
  2919.                           entry, you should simply leave the "Script" field
  2920.                           blank by pressing <Enter>.
  2921.  
  2922.       Prot (Protocol)     A single letter to choose a default file transfer
  2923.                           protocol to be used on  this  system,  or  just a
  2924.                           space to not select a  special  default.   Choose
  2925.                           from [X]=Xmodem, [A]=ASCII, [Z]=Zmodem, etc. (see
  2926.                           section 4.4.1 for the complete list).   Note that
  2927.                           your selection here is just a  default,  and does
  2928.                           not prevent you from  using  other  file transfer
  2929.                           protocols when connected to this system.
  2930.  
  2931.       Comm (Baud Rate)    You must select a modem  speed  to  be  used when
  2932.                           dialing  this  system.   Press <space> repeatedly
  2933.                           until the desired baud rate appears;  or,  if you
  2934.                           prefer,  select by  digit:    [3]=300,  [1]=1200,
  2935.                           [2]=2400,  [4]=4800,   [9]=9600,   [0]=19200,  or
  2936.                           [8]=38400.
  2937.  
  2938.       Comm (Parity)       Select a parity setting to be  used  when dialing
  2939.                           this system:    [N]=None,  [E]=Even,  or [O]=Odd.
  2940.                           [N]one   is  standard  on  most  Bulletin   Board
  2941.                           Systems,  while  [E]ven  is usually preferred for
  2942.                           connecting to  mainframes  and  services  such as
  2943.                           CompuServe.
  2944.  
  2945.       PW (Password)       When you reach this field, the "Password:" prompt
  2946.                           will appear.  Type in the personal  password that
  2947.                           you  use  with  this  system.    After  you press
  2948.                           <Enter>, only a small diamond will appear  in the
  2949.                           PW column to indicate that the password is tucked
  2950.                           away there.  Passwords are stored  in  a separate
  2951.                           .PWD file,  so your .FON file may still be shared
  2952.                           freely.  While online, you  can  have  BOYAN type
  2953.                           out this password by pressing <F3>.  If you leave
  2954.                           the PW field blank, then <F3> will  refer instead
  2955.                           to the default password  entered  in  Config Area
  2956.                           <S>.
  2957.  
  2958.     - File to disk:  This creates  a  nicely-formatted disk file of a range
  2959.       of your Dialing Directory.  The text file formed will be suitable for
  2960.       later  printing, uploading, or viewing.  BOYAN  will  prompt  you  to
  2961.       enter the file's name, with NUMBERS.TXT as the default (section 3.6).
  2962.  
  2963.     - Grab phone # from terminal screen:  Another BOYAN  exclusive!    When
  2964.       you're  online  and  you  see  a  message  like  "Try  Ed's   BBS  at
  2965.       (301)-854-3076", there's no need to find  a  slip of paper and a pen,
  2966.  
  2967.  
  2968.  
  2969.    4.2.1.4:  BOYAN Command Capabilities                                  47
  2970.    ________________________________________________________________________
  2971.  
  2972.  
  2973.  
  2974.  
  2975.       copy  down  the  number, and then type it in to the Dialing Directory
  2976.       manually.    Instead,  simply move the scroll bar to a blank entry in
  2977.       the directory and type G.   BOYAN  will scan the terminal screen from
  2978.       bottom  to top, "grab" the first valid phone  number  it  finds,  and
  2979.       insert it  into  the  phone  number field.  If there is more than one
  2980.       valid phone number on the terminal screen, you may press G repeatedly
  2981.       to cycle through all of them.
  2982.  
  2983.     - <Ins>  or  Insert:   This command inserts a single blank entry at the
  2984.       position of the scroll bar.
  2985.  
  2986.     - Locate:  Scan the dialing directory  for  an entry.  At the "LOCATE:"
  2987.       prompt, type in a part of the desired entry and  press  <Enter>.  You
  2988.       can  locate  any part of an entry's name, phone number, etc.    If  a
  2989.       match  is  found,  it  is  highlighted  on  the  screen.  To continue
  2990.       scanning  the  directory  for  further  matches,  press  L again  and
  2991.       <Enter>.  Also see the <Alt+letter> command, described above.
  2992.  
  2993.     - NewFON:  Change to a different FON directory,  or  create  a  new FON
  2994.       directory.  Using  multiple  phone directories gives you a convenient
  2995.       way  to  organize  your phone lists.  For example, you might create a
  2996.       VOICE.FON directory for storing regular  voice  phone  numbers,  or a
  2997.       special LONGDIST.FON directory just for  long-distance  numbers.   At
  2998.       the  "New  .FON  file:" prompt, type a name of up to eight characters
  2999.       (it is unnecessary to include the .FON filename suffix).    If  BOYAN
  3000.       finds a .FON file of that name, that .FON file will  be  loaded.   If
  3001.       BOYAN cannot find a file with the name  you  specified,  you  will be
  3002.       asked if you  mean  to  create  a  new .FON directory with that name.
  3003.       Press "Y" to verify, and an empty phone directory will be created.
  3004.  
  3005.     - Print:  Print a  nicely-formatted  range of the directory.  Enter the
  3006.       code numbers of the first and last entries  in  the  range  to print.
  3007.       You are given  the  opportunity  to  set up the printer using BOYAN's
  3008.       printer interface (section 4.5.4) before printing begins.
  3009.  
  3010.     - <Ctrl-P>:  Paste the clipboard entry back into the dialing directory.
  3011.       The clipboard stores the last entry deleted with the <Del> command.
  3012.  
  3013.     - Queue:  Enter the Redialing Queue.   A  handy  trick  is  to  use the
  3014.       cursor keys and <space> to mark entries for queue redialing, and then
  3015.       hit  Q  to  invoke  the  Queue.  Note that the Q key returns  to  the
  3016.       Dialing Directory from the Redialing Queue as well, so you can  use Q
  3017.       to switch back and forth.
  3018.  
  3019.     - Save:  Force the Dialing Directory  to  be saved.  You won't normally
  3020.       need to use this command, since BOYAN saves your changes to  the .FON
  3021.       file automatically when you exit  the  Dialing  Directory  (either by
  3022.       pressing <Esc>, invoking the redialing Queue, or dialing a number).
  3023.  
  3024.  
  3025.  
  3026.    4.2.1.4:  BOYAN Command Capabilities                                  48
  3027.    ________________________________________________________________________
  3028.  
  3029.  
  3030.  
  3031.  
  3032.     - Undo:  Revert to the last-saved  copy  of  the current FON file.  You
  3033.       must  use this command before exiting  from  the  Dialing  Directory,
  3034.       because BOYAN automatically saves all modifications then.
  3035.  
  3036.     - eXchange:  Press X to exchange  any  two entries.  This is convenient
  3037.       when, after  alphabetizing  with  the  A  command,  you wish to put a
  3038.       favorite system  at  the  top  of the list.   Simply specify the code
  3039.       numbers of the two entries to swap.
  3040.  
  3041.     - <Ctrl-X> block exchange:   This  command  allows  you to exchange two
  3042.       whole  ranges  of  the dialing directory; for example, you could swap
  3043.       entries  1-10  with  entries 11-20.  You are prompted for the top and
  3044.       bottom of the first range and the  top  of  the  second  range.   The
  3045.       ranges you specify should not overlap.
  3046.  
  3047.    Each dialing directory is automatically  saved to disk after any changes
  3048.    you make to it.  Be sure that you do not remove the disk containing your
  3049.    .FON directory at any time while using BOYAN.
  3050.  
  3051.    4.2.1.5  Long-Distance Dialing Prefixes
  3052.  
  3053.  
  3054.    Phone numbers are  processed  as  macros;  that is, when BOYAN dials, it
  3055.    treats the phone number as a macro.  Thus any macro command (see section
  3056.    3.9  and  chapter  5) can be embedded within a phone  number.    BOYAN's
  3057.    Shortcut  macro commands are an example.  If  you  use  a  long-distance
  3058.    service with codes too long  to  fit  in  the  directory,  this  is your
  3059.    solution.
  3060.  
  3061.    Suppose you belong to a long-distance service which requires you to dial
  3062.    a local number (say 765-4321), pause, and enter a seven-digit  code (say
  3063.    1234567) before dialing the long-distance  number  itself.    In BOYAN's
  3064.    Config   Area   <M>,   assign  the  \*  Shortcut  (#18)  to  the  string
  3065.    765-4321,,1234567  .   Then, wherever the  backslash  and  asterisk  are
  3066.    found embedded in a phone number, the above string will  be substituted.
  3067.    For example, a directory  entry  with  the  phone number  \*919-682-4225
  3068.    will automatically use your long-distance  service  when  it  is dialed.
  3069.    All other macro commands are valid within phone numbers, as well.
  3070.  
  3071.    4.2.1.6  Uniform Dialing Prefixes
  3072.  
  3073.    Another common situation is when the same BOYAN phone directory  must be
  3074.    used both at home and at work.  If the work phone  requires  a  9  and a
  3075.    pause  before dialing out (e.g. Centrex), the  most  convenient  way  to
  3076.    implement this is to change the  modem  dialing command itself.  This is
  3077.    done in macro #1 of Config Area <M> (section 3.9.3).
  3078.  
  3079.  
  3080.  
  3081.    4.2.1.6:  BOYAN Command Capabilities                                  49
  3082.    ________________________________________________________________________
  3083.  
  3084.  
  3085.  
  3086.  
  3087.    You can assign a  single  keystroke to modify the dialing command, using
  3088.    the \SM1 macro command (see section 5.2.16).  Suppose you want to set it
  3089.    up so that pressing  the  <F9> key selects Centrex dialing, and pressing
  3090.    the <F10> key selects normal dialing.    To do this, configure macro #79
  3091.    <F9> to be    \SM1[ATDT 9,"@SF{]    and  configure macro #80 <F10> to be
  3092.    \SM1[ATDT"@SF{] .  Having  done  this, you can conveniently switch BOYAN
  3093.    from one dialing command to another with a single keypress.
  3094.  
  3095.    4.2.1.7  Disable Call Waiting
  3096.  
  3097.    If you have call waiting, you  are  familiar with the friendly click you
  3098.    get when another  call  comes  in.    That  click  is not so friendly to
  3099.    modems, however, often  causing  them to lose the connection altogether.
  3100.    Most  phone  companies  now offer you the ability to temporarily disable
  3101.    call waiting by dialing *70 immediately before the number itself.  (On a
  3102.    pulse phone, you dial 1170.)
  3103.  
  3104.    To make BOYAN automatically disable call waiting each time it  dials the
  3105.    modem, change the Dialing Command (macro #1) to:
  3106.  
  3107.         ATDT*70,@SF{
  3108.  
  3109.  
  3110.    If you do not have Touch-Tone service, the Dialing Command would be:
  3111.  
  3112.         ATDP1170,@SF{
  3113.  
  3114.  
  3115.    4.2.2  <Alt-H> Hang Up Modem
  3116.  
  3117.    Press <Alt-H> to hang up  the  modem.    The  procedure  BOYAN  uses for
  3118.    hanging up the modem is completely specified in Macro  #4  (see  section
  3119.    3.9.3).   BOYAN will report "Hangup successful" or "Hangup unsuccessful"
  3120.    after trying.
  3121.  
  3122.    4.2.3  <Alt-P> Parameter Change
  3123.  
  3124.    BOYAN version 5 supports 4 serial ports (Com1 through Com4), seven modem
  3125.    speed rates  (300,  1200,  2400,  4800,  9600,  19200, and 38400), and 3
  3126.    parity formats (none, even, and odd).  When BOYAN starts, it  sets these
  3127.    three  variables to the values specified in  Config  Area  <C>  (section
  3128.    3.7).    If  you dial a number from the dialing  directory,  BOYAN  will
  3129.    automatically set the modem parameters; however, if you  wish  to change
  3130.    the parameters manually, you may use the <Alt-P> command.
  3131.  
  3132.    Pressing <Alt-P> brings up a menu of key options, enabling you to change
  3133.    serial port, modem speed, or parity.  When the Status Line  displays the
  3134.    desired parameters, press <Enter> for BOYAN to make the change.   If you
  3135.  
  3136.  
  3137.  
  3138.    4.2.3:  BOYAN Command Capabilities                                    50
  3139.    ________________________________________________________________________
  3140.  
  3141.  
  3142.  
  3143.  
  3144.    press  <Esc>  during  this  process,  BOYAN will return to its  previous
  3145.    parameters.
  3146.  
  3147.    Technical note:  When you select No parity, BOYAN automatically sets the
  3148.    line  format  to 8 data bits, 1 stop bit.  When you select Even  or  Odd
  3149.    parity,  the  line  format  is  7  data bits, 1 stop bit.   Since  these
  3150.    combinations are standard, BOYAN makes the choice automatically to avoid
  3151.    confusion.    Also  note  that  BOYAN runs the "Reset Modem  Parameters"
  3152.    Auto-macro (#3) anytime you change the baud rate or parity with <Alt-P>.
  3153.  
  3154.    4.2.4  <Alt-Q> Queue Redialing
  3155.  
  3156.    BOYAN's  Redialing  Queue  is  one  of  its  easiest and  most  powerful
  3157.    features.  The queue will repeatedly  dial  from a list of numbers until
  3158.    one connects.  Systems which you have dialed with  the  <Alt-D>  command
  3159.    without connecting are automatically  added  to the queue.  If you later
  3160.    dial the system again and do make a connection, BOYAN removes the number
  3161.    from  the queue.  Up to twenty different systems can be in the queue  at
  3162.    one time.
  3163.  
  3164.    Press <Alt-Q> from BOYAN's terminal mode.  The display lists each system
  3165.    which is currently in the queue, along with the number of  attempts made
  3166.    so far, the length of  time  in  the  queue  (Q-time),  and  the current
  3167.    status.
  3168.  
  3169.    BOYAN provides the following commands for you to use in the Queue:
  3170.  
  3171.     - <F1>:  for detailed help with Queue commands.
  3172.  
  3173.     - To add a number to the Queue which is not  in  the dialing directory,
  3174.       simply type the full number manually and press <Enter>.
  3175.  
  3176.     - To  add  a  number to the Queue which is in  the  dialing  directory,
  3177.       simply type the system's code (1-200) and press <Enter>.
  3178.  
  3179.     - <Home>, <End>:  Go to top/bottom of Queue.
  3180.  
  3181.     - <UpArrow>, <DownArrow>:  Move the scroll bar up or down.
  3182.  
  3183.     - <Esc> or mouse right button:  Return to terminal mode.
  3184.  
  3185.     - <space> or <Enter>:  begin redialing.  Starting with the number under
  3186.       the  scroll bar, BOYAN will dial each number  in  turn,  waiting  for
  3187.       modem messages  just as after dialing with <Alt-D> (section 4.2.1.3).
  3188.       After  dialing the last number in the Queue, it returns to the top to
  3189.       run through the list again.   BOYAN  pauses for 3 seconds after every
  3190.       unsuccessful redial (to change this, see section 3.8).    During this
  3191.       pause, pressing <Esc> will  stop  redialing  and  return to the Queue
  3192.       display,  pressing  <space>  will manually cycle BOYAN  to  the  next
  3193.  
  3194.  
  3195.  
  3196.    4.2.4:  BOYAN Command Capabilities                                    51
  3197.    ________________________________________________________________________
  3198.  
  3199.  
  3200.  
  3201.  
  3202.       number in  the  Queue,  and  pressing  D  will delete the number just
  3203.       dialed from the Queue.
  3204.  
  3205.     - mouse left button:
  3206.  
  3207.        * single click:  Set scroll bar at the mouse cursor position.
  3208.  
  3209.        * hold down and drag:  Move scroll bar up or down with mouse.
  3210.  
  3211.        * double-click on entry's name or  phone number:  Begin redialing at
  3212.          the entry.
  3213.  
  3214.        * single click on menu  line:   Select option from choices listed on
  3215.          line 24 of the screen.
  3216.  
  3217.     - <Alt+letter>:  Move the  scroll  bar directly to the next entry whose
  3218.       system name starts with  that  letter.  For example, press <Alt-E> to
  3219.       move the scroll bar down to the next entry starting with "E".
  3220.  
  3221.     - Clear:    clear  the  entire  queue.    You will have to verify  your
  3222.       decision by pressing Y.
  3223.  
  3224.     - <Del> or Delete:    Delete  the  entry  under the scroll bar from the
  3225.       Queue.  The entry is saved in BOYAN's Queue Clipboard.
  3226.  
  3227.     - <Ctrl-P>  or  Paste:    "Undelete"  the  last  Queue  entry  deleted,
  3228.       inserting  it at the current position of the scroll bar.  Using the D
  3229.       and P keys, you can precisely arrange the order in which  systems are
  3230.       redialed.
  3231.  
  3232.     - Quit to Dialing Directory:  It is often convenient to add  and delete
  3233.       entries from the Queue directly from the Dialing Directory.  While in
  3234.       the directory,  you  may  mark  and  unmark  entries for the Queue by
  3235.       either pressing <space> or, if you have a  mouse,  double-clicking on
  3236.       the entry's code  number.    A  small  square next to the code number
  3237.       indicates  an entry that is currently in the Queue.  Press Q again to
  3238.       return to the Queue Redialer.
  3239.  
  3240.    When BOYAN detects a connection with  one  of the systems it has dialed,
  3241.    the  redialing  screen  will disappear and a "ringing" alarm will sound.
  3242.    Press  any key to stop the alarm.  If the connected system has an  auto-
  3243.    logon script specified in  the  dialing  directory,  the alarm will stop
  3244.    automatically after 10 seconds  (the  script  keyboard  timeout, section
  3245.    3.8) so the script file can  begin  processing.  The connected system is
  3246.    automatically  deleted  from  the queue, so after you have finished your
  3247.    session, you may press <Alt-Q><space> to redial the remaining systems.
  3248.  
  3249.  
  3250.  
  3251.    4.2.5:  BOYAN Command Capabilities                                    52
  3252.    ________________________________________________________________________
  3253.  
  3254.  
  3255.  
  3256.  
  3257.    BOYAN's Macro Language  provides  powerful  tools  for  manipulating the
  3258.    Queue;  for instance, the ability to add and  delete  systems  from  the
  3259.    Queue by name.  Please see section 5.2.9 for details.
  3260.  
  3261.    4.2.5  <Ctrl-End> Send Modem Break Signal
  3262.  
  3263.    Some  mainframe  systems  recognize  a  special signal called  a  "modem
  3264.    break."  Press <Ctrl-End> to send this signal.  This command also purges
  3265.    BOYAN's buffer of incoming text.
  3266.  
  3267.    4.2.6  <Del> Send DEL character
  3268.  
  3269.    Some  mainframes  expect  the DEL character (ASCII code 127) rather than
  3270.    the normal backspace character (control-H) for backspacing.  To generate
  3271.    this character, press <Del>.
  3272.  
  3273.    If you need to use this character frequently, you may wish to "swap" the
  3274.    backspace and <Del>  keys  as  described  in  section 3.10.2.  If you do
  3275.    this, the backspace key will send ASCII code 127, and the <Del> key will
  3276.    send a normal control-H character.
  3277.  
  3278.  
  3279.    4.3  BOYAN Action Modules
  3280.  
  3281.  
  3282.    At  all times during communications, both what you  type  and  what  the
  3283.    remote  system  sends  back  are  processed according to a BOYAN  Action
  3284.    Module.    Terminal  emulations, gossip mode,  and  host  mode  are  all
  3285.    examples of BOYAN Action Modules.  There is exactly  one  Action  Module
  3286.    active  at all times.  The name of the currently active Action Module is
  3287.    displayed on the main command menu,  which  you  can view at any time by
  3288.    pressing <F1>.
  3289.  
  3290.    4.3.1  <Alt-A> Activate new Action Module
  3291.  
  3292.    Pressing <Alt-A> brings up  a  menu of all the available Action Modules.
  3293.    To select a module, touch the  appropriate  letter or digit, e.g., G for
  3294.    Gossip.   Press <Esc> to return to  the  communications  screen  without
  3295.    changing the current action module.
  3296.  
  3297.    4.3.2  <Alt-Equals> Previous Action Module
  3298.  
  3299.    This  key automatically activates the Action Module  which  was  in  use
  3300.    prior to the current BAM.
  3301.  
  3302.  
  3303.  
  3304.    4.3.3:  BOYAN Command Capabilities                                    53
  3305.    ________________________________________________________________________
  3306.  
  3307.  
  3308.  
  3309.  
  3310.    4.3.3  <Scroll-Lock> Switch Between BOYAN/Terminal Keysets
  3311.  
  3312.    During normal BOYAN operations, all of the function keys and cursor keys
  3313.    are assigned to  BOYAN  commands and user-definable macros; for example,
  3314.    the <UpArrow> key normally invokes BOYAN's scroll-back buffer.  However,
  3315.    when BOYAN is emulating a terminal  such  as VT-100, it is convenient to
  3316.    have your keyboard's  <UpArrow>  simulate the real VT-100 <UpArrow> key.
  3317.    Therefore,   BOYAN's  terminal  emulations  come  with  "secondary"   or
  3318.    "terminal" keysets.  To  switch  between  BOYAN's  normal keyset and the
  3319.    terminal keyset, press <Scroll-Lock>.   While  <Scroll-Lock>  is locked,
  3320.                                                 2 
  3321.    the secondary keyset is active, and a small     indicator appears in the
  3322.    middle  of  the  status line.   (On  certain  Tandy  computers  with  no
  3323.    <Scroll-Lock> key, use <Alt-NumLock> instead.)
  3324.  
  3325.    Both the primary and secondary keysets are completely customizable.  See
  3326.    section 3.9 and Appendix D.
  3327.  
  3328.    4.3.4  Action Module Descriptions
  3329.  
  3330.    4.3.4.1  ADM-3A, IBM-3101, TVI-925, and VT-52 Emulations
  3331.  
  3332.    BOYAN  emulates  all  the  screen-handling  operations  of  these common
  3333.    terminals.   In addition, each provides its own user-definable secondary
  3334.    keyset  which mimics the terminal's function and  cursor  keys.    While
  3335.    <Scroll-Lock> is locked,  the  <Alt-1>, <Alt-2>, etc. keys correspond to
  3336.    the terminal's function  keys,  and your cursor keys correspond directly
  3337.    to the terminal's cursor keys.  Please see section  3.10.2  for  details
  3338.    about terminal configuration options.
  3339.  
  3340.    4.3.4.2  ANSI-BBS Emulation
  3341.  
  3342.    The ANSI-BBS module is useful  for connecting to Bulletin Board Systems.
  3343.    Many  BBS programs send special "ANSI"  sequences  to  display  colorful
  3344.    welcome  screens, etc., which BOYAN will  handle  appropriately  if  the
  3345.    ANSI-BBS Action Module is  selected.   When <Scroll Lock> is locked, the
  3346.    cursor keys send special control  sequences--great  for  the full-screen
  3347.    message editors offered by some BBS's.  Technical note:  BOYAN  does not
  3348.    require that you install the DOS ANSI.SYS driver in  memory;  the  codes
  3349.    are handled internally.
  3350.  
  3351.    4.3.4.3  CONTROL Action Module
  3352.  
  3353.    The CONTROL module is  a  convenient tool that makes all hidden "control
  3354.    characters" visible.  ASCII characters 0 through 31  are  represented as
  3355.    ^00, ^01, ^02, .. ^31. Two exceptions are ASCII 13, which is represented
  3356.                                                        j
  3357.    as a {, and ASCII 10, which is  represented  as  a   .    Note  that any
  3358.  
  3359.  
  3360.  
  3361.    4.3.4.4:  BOYAN Command Capabilities                                  54
  3362.    ________________________________________________________________________
  3363.  
  3364.  
  3365.  
  3366.  
  3367.    translation or  filtering done by your Translation Table (section 4.1.7)
  3368.    occurs before the control characters are displayed.
  3369.  
  3370.    4.3.4.4  DOORWAY Module
  3371.  
  3372.    The DOORWAY module does two things:  first, it  removes  BOYAN's  Status
  3373.    Line from the screen altogether; and second, it sends any key  you press
  3374.    (including "extended" key codes such as function keys) directly over the
  3375.    modem.  All BOYAN command keys except for  <Alt-Equals>  are unavailable
  3376.    during  DOORWAY mode.  The <Alt-Equals> key  retains  its  normal  BOYAN
  3377.    function of returning you to the previously-selected Action Module, from
  3378.    which normal BOYAN commands will be accessible.
  3379.  
  3380.    4.3.4.5  DUMBTERM (Dumb Terminal)
  3381.  
  3382.    This BAM  makes  BOYAN  act  as a "dumb terminal."  No special codes are
  3383.    processed;  all  incoming  characters  from  the  modem  except  control
  3384.    characters are displayed on the screen as-is.
  3385.  
  3386.    4.3.4.6  GOSSIP Mode
  3387.  
  3388.    BOYAN provides a gossip mode for direct "chatting" with  the  person  on
  3389.    the  other side of your connection.  When the GOSSIP BAM is invoked, the
  3390.    echo keyboard toggle is automatically turned ON, and the screen is split
  3391.    into two parts.    The  upper,  larger part displays incoming text only,
  3392.    while the lower part displays  the  text  which  you  type.    All BOYAN
  3393.    commands are still available during gossip mode.  To leave  gossip mode,
  3394.    you must  select  a  different  action  module,  at which point the echo
  3395.    keyboard toggle is returned to its previous setting.
  3396.  
  3397.    4.3.4.7  HOST Action Module
  3398.  
  3399.    The HOST action module  works  in  conjunction  with the HOST.BSC script
  3400.    file in order to provide BOYAN's  host  mode.  A complete explanation of
  3401.    how to use the host mode is in section 4.8.
  3402.  
  3403.    4.3.4.8  VT-100 Emulation
  3404.  
  3405.    The  DEC  VT-100  terminal  is  an extremely popular terminal, used  for
  3406.    linking up with Digital Equipment Corporation's  mainframe  computers as
  3407.    well  as  many  other mainframes.  BOYAN's VT-100 action module supports
  3408.    nearly all of the VT-100/VT-102 functions,  including  region scrolling,
  3409.    display attributes (including extension  to  ANSI  colors), programmable
  3410.    tabs, block graphics, and dedicated printing.
  3411.  
  3412.    Dedicated  printing  gives  the  remote  system  control  of your  local
  3413.    printer:    when  dedicated print mode  is  triggered  by  the  <Esc>[4i
  3414.    sequence, all subsequent text  is  echoed to your printer rather than to
  3415.    the  screen.  The <Esc>[5i sequence stops dedicated  print  mode.    The
  3416.  
  3417.  
  3418.  
  3419.    4.3.4.8:  BOYAN Command Capabilities                                  55
  3420.    ________________________________________________________________________
  3421.  
  3422.  
  3423.  
  3424.  
  3425.    following Unix batch file uses dedicated printing to print files to your
  3426.    computer's printer:
  3427.  
  3428.         echo -n <Esc>[4i
  3429.         cat $1
  3430.         echo -n <Esc>[5i
  3431.  
  3432.    If you insert a "?"  character between the [ and the 4 and 5, then BOYAN
  3433.    will echo the text to both your screen and printer.
  3434.  
  3435.    The VT-100 secondary keyset has been tailored for use with  Unix's Emacs
  3436.    editor.  Please see Appendix D for a complete description of  the VT-100
  3437.    key definitions and how to customize them.
  3438.  
  3439.  
  3440.    4.4  BOYAN File Transfers
  3441.  
  3442.  
  3443.    4.4.1  Internal Protocols
  3444.  
  3445.    One of the most frequent activities during communication is transferring
  3446.    files.   Sending  a  file  from your PC to the remote computer is called
  3447.    uploading; receiving a file from the remote computer is downloading.  It
  3448.    is possible to transfer a file by simply sending its  contents directly,
  3449.    but  sometimes  phone  line  "noise"  can cause fatal errors during  the
  3450.    transfer.  Various "protocols"  have  been  developed  to check for, and
  3451.    correct,  those errors.  BOYAN version 5  supports  the  following  file
  3452.    transfer protocols internally:
  3453.  
  3454.    Xmodem               Very  widely used;  good  error-checking  with  the
  3455.                         checksum method.
  3456.  
  3457.    Relaxed Xmodem       Identical to Xmodem, but  with  relaxed  timing for
  3458.                         networks such as CompuServe.
  3459.  
  3460.    CRC-Xmodem           An  enhancement  to  Xmodem  that  improves  error-
  3461.                         checking with the Cyclic Redundancy Check method.
  3462.  
  3463.    1K-Xmodem            Just like CRC-Xmodem, except  the  data  is checked
  3464.                         for  errors less often.  This  is  very  fast  over
  3465.                         "clean" phone lines, but slow  if there is a lot of
  3466.                         line noise.  It will automatically convert  to CRC-
  3467.                         Xmodem in mid-upload if there are too  many errors.
  3468.                         This protocol is  sometimes  (incorrectly) referred
  3469.                         to as "Ymodem."
  3470.  
  3471.    Ymodem               Ymodem is identical to  1K-Xmodem,  except  that it
  3472.                         adds a "header block" so that the receiver knows in
  3473.                         advance the name and the  size  of  the  file being
  3474.  
  3475.  
  3476.  
  3477.    4.4.1:  BOYAN Command Capabilities                                    56
  3478.    ________________________________________________________________________
  3479.  
  3480.  
  3481.  
  3482.  
  3483.                         transferred.    (This  Ymodem  is  for  single-file
  3484.                         transfers only.    However,  BOYAN  can  use  Chuck
  3485.                         Forsberg's  DSZ  program  to perform "batch" Ymodem
  3486.                         transfers.)
  3487.  
  3488.    G-Ymodem             This variant of Ymodem is  very  fast  but  does no
  3489.                         error-checking.  It  is  meant to be used on modems
  3490.                         with their own  built-in  error-checking protocols,
  3491.                         such  as  MNP.   G-Ymodem can also be used with the
  3492.                         "1K-Xmodem-G" protocol available  on  some PC-Board
  3493.                         systems,  but  allow about ten  extra  seconds  for
  3494.                         handshaking as the transfer starts.
  3495.  
  3496.    ASCII                This is the  fastest  protocol of all, but there is
  3497.                         NO error-checking.   It  may only be used with text
  3498.                         files.  Generally, if the accuracy of  the transfer
  3499.                         is important, this method should not be used.
  3500.  
  3501.    Message Upload       This is a "smart"  ASCII  variant  that  BOYAN uses
  3502.                         only for uploading messages.  You can save time and
  3503.                         money   by   preparing   messages  with  your  word
  3504.                         processor  instead of typing on-line.  See  section
  3505.                         4.4.5 for details.
  3506.  
  3507.    4.4.2  External Protocols
  3508.  
  3509.    Many sophisticated protocols are supported by  standardized  programs on
  3510.    the  IBM-PC.   Jan van der Eijk's  PCKERMIT.EXE,  for  example,  is  the
  3511.    standard  for  the  Kermit   protocol,   widely   used   on  mainframes.
  3512.    Analogously, Chuck Forsberg's DSZ.COM is the standard for Zmodem.  BOYAN
  3513.    integrates standard programs like these to  perform  so-called "external
  3514.    protocol transfers."  Updated versions of these programs may be found on
  3515.    many IBM-PC Bulletin Board Systems,  including  the  BOYAN  Support BBS.
  3516.    Any  external  protocol  can be configured to run through BOYAN (section
  3517.    3.12).
  3518.  
  3519.    BOYAN offers built-in  support  for the external protocols listed below.
  3520.    To use any of these protocols,  simply  copy the protocol's .COM or .EXE
  3521.    file (given in parentheses below) into your external protocol directory,
  3522.    e.g. C:\BOY5\PROT.  You do not need any extra batch files.  The external
  3523.    protocols appear on BOYAN's menus just like the internal protocols.
  3524.  
  3525.    Bimodem              (BIMODEM.COM)    This  protocol offers simultaneous
  3526.                         uploading, downloading, and chat.  You will want to
  3527.                         assign a function  key to the macro \DC-[%P:BIMENU]
  3528.                         (see section 3.9.4); this  function  key  will then
  3529.                         invoke BiMenu for setting up the  transfer.   After
  3530.                         you  return  to  BOYAN,  the  transfer  will  start
  3531.                         without your having to type anything, since Bimodem
  3532.  
  3533.  
  3534.  
  3535.    4.4.2:  BOYAN Command Capabilities                                    57
  3536.    ________________________________________________________________________
  3537.  
  3538.  
  3539.  
  3540.  
  3541.                         supports  auto-downloading  (described  in  section
  3542.                         3.12.1).
  3543.  
  3544.    Compuserve-B         (OZBEXT.EXE)   The  Quick-B  protocol  available on
  3545.                         CompuServe.  Supports auto-downloading.
  3546.  
  3547.    Kermit               (PCKERMIT.EXE)  Widely used on mainframe systems.
  3548.  
  3549.    Megalink             (MLINK.COM)      A   streaming  variant  of  Xmodem
  3550.                         developed by Paul Meiners.
  3551.  
  3552.    MPt                  (MPT.EXE)   A friendly, fast protocol developed  by
  3553.                         Matthew  Thomas (read "Em-point").  Supports  auto-
  3554.                         downloading.
  3555.  
  3556.    SEAlink              (CLINK.EXE)  An  enhancement to Xmodem developed by
  3557.                         System Enhancement Associates.
  3558.  
  3559.    Ymodem-batch         (DSZ.COM)    Like  BOYAN's  built-in   Ymodem,  but
  3560.                         supports batch transfers.
  3561.  
  3562.    Zmodem               (DSZ.COM)    The  new  "standard" protocol for both
  3563.                         Bulletin Board and Unix systems, developed by Chuck
  3564.                         Forsberg.    Very  fast  and reliable, and supports
  3565.                         auto-downloading.
  3566.  
  3567.    Many external protocols  allow  "batch transfers"; that is, the transfer
  3568.    of  multiple  files  during a single invocation of the external program.
  3569.    BOYAN handles batch downloads automatically.  To specify a batch upload,
  3570.    you  may  either  1) enter  multiple  filenames  at  BOYAN's "FILENAME:"
  3571.    prompt, e.g. FOO.EXE BOY*.ZIP BAR.DOC; or 2) use the File Manager to tag
  3572.    multiple  filenames  directly  from a disk directory,  as  described  in
  3573.    section 4.6.1.
  3574.  
  3575.    Important note:  the external protocols listed above are all copyrighted
  3576.    ShareWare products, with licensing  agreements  independent  of  that of
  3577.    BOYAN Communications.  Please  register  those  that  you use with their
  3578.    respective authors!
  3579.  
  3580.    4.4.3  Auto-Find Filename Feature
  3581.  
  3582.    BOYAN  has  the  unique feature of being able to automatically determine
  3583.    the name of the file you wish to transfer based on  what  you  have told
  3584.    the remote computer.  Other  communications programs require you to type
  3585.    the  full filename twice.  Only filenames  with  a  three-letter  suffix
  3586.    (e.g. TWIDDLE.ARC)  can  be  found  this way; if you want to send a file
  3587.    named TEST.X, you will have to retype the filename for  BOYAN.   You may
  3588.    disable this feature if you wish (section 3.7).
  3589.  
  3590.  
  3591.  
  3592.    4.4.4:  BOYAN Command Capabilities                                    58
  3593.    ________________________________________________________________________
  3594.  
  3595.  
  3596.  
  3597.  
  3598.    4.4.4  <PgUp> Upload File
  3599.  
  3600.    This is the procedure you should  follow  for uploading a file from your
  3601.    PC to a remote system:
  3602.  
  3603.       1.  From BOYAN's terminal mode, tell  the remote system that you wish
  3604.           to upload a file.  As it prompts, enter the  file's  name and the
  3605.           upload protocol you wish to use.
  3606.  
  3607.       2.  When the remote  system  says  it  is ready to receive, press the
  3608.           <PgUp> key.   (Alternatively, you may press <Ctrl-PgUp> to select
  3609.           the file(s) straight from  a  file  directory  list.  See section
  3610.           4.6.1.)
  3611.  
  3612.       3.  From the menu of protocols, press the letter corresponding to the
  3613.           same protocol you told the remote system you would use,  or press
  3614.           <Enter> instead to use the default protocol.
  3615.  
  3616.       4.  In  its  upload  window BOYAN will display the directory path and
  3617.           filename  of the file to be transferred.  If the file you wish to
  3618.           upload is not in  the  path  displayed,  press the <UpArrow> key,
  3619.           edit the pathname, and press  <Enter>.  Make sure the filename(s)
  3620.           are correct and press <Enter>.  The transfer should begin.
  3621.  
  3622.       5.  To abort the  upload  procedure  at  any time, press <Esc>.  With
  3623.           BOYAN's  internal  protocols,  a  bar  to the left of the  upload
  3624.           window graphically indicates the percentage of the  file transfer
  3625.           completed.
  3626.  
  3627.       6.  When the transfer finishes, successfully or unsuccessfully, BOYAN
  3628.           will sound an  alarm  and  return  you  to terminal mode.  If the
  3629.           upload  was successful, the  total  transfer  time  and  transfer
  3630.           efficiency will also be displayed.  The efficiency is based  on a
  3631.           pure transmission at full speed, so any figure above 75% is quite
  3632.           good.
  3633.  
  3634.    4.4.5  Uploading a Message
  3635.  
  3636.    If you write a message using your word processor, SideKick, or any other
  3637.    ASCII  text  editor, BOYAN can upload it just as if you  had  typed  the
  3638.    message directly.  First, from terminal mode, tell the remote system you
  3639.    wish to enter a message; enter all header information such as addressee,
  3640.    subject,  etc.  When you are given the prompt for the first line of  the
  3641.    message, press <PgUp>.  Select Message Upload as the protocol.  You will
  3642.    have to enter the message's filename manually.
  3643.  
  3644.    BOYAN provides a degree of convenience in message uploading not found in
  3645.    any other communications program.   First,  it  automatically determines
  3646.    the remote system's line  prompt;  press <Enter> to verify.  (This field
  3647.  
  3648.  
  3649.  
  3650.    4.4.5:  BOYAN Command Capabilities                                    59
  3651.    ________________________________________________________________________
  3652.  
  3653.  
  3654.  
  3655.  
  3656.    may be left blank if the remote system does not give  you  a  new prompt
  3657.    for  every  line  of  the  message.)    Then watch as BOYAN "types"  the
  3658.    message.  BOYAN automatically  adds  a space to any blank lines, because
  3659.    most systems interpret a blank line as the end-of-message  signal.    If
  3660.    you have turned the "Auto-Detect Word Wrap" feature ON (section 3.7), it
  3661.    will automatically detect an incoming <Return> character and assume that
  3662.    the remote system has "word-wrapped."  In that case, BOYAN will send the
  3663.    line without a <Return> character.   This  feature means that you do not
  3664.    need  to  tailor  your  prepared  messages to the system's maximum  line
  3665.    length; if the system word-wraps, BOYAN will take care of it for you.
  3666.  
  3667.    Not all systems can accept the  message  text  as fast as BOYAN can send
  3668.    it.  To slow BOYAN down, increase the inter-character  pacing  delay  in
  3669.    Config Area <E> (section 3.8).
  3670.  
  3671.    4.4.6  <PgDn> Download File
  3672.  
  3673.    Follow the procedure below to download a file from the remote  system to
  3674.    your PC:
  3675.  
  3676.       1.  From BOYAN's terminal  mode,  instruct the remote system that you
  3677.           wish  to  download  a file.  As it prompts, enter the file's name
  3678.           and the download protocol you wish  to  use.  If the protocol you
  3679.           selected  supports auto-downloading  (e.g.,  Zmodem  or  MPt--see
  3680.           section  3.12.1),  then  sit back and relax; BOYAN will start the
  3681.           download automatically.  Otherwise...
  3682.  
  3683.       2.  When the remote system says it is ready to send, press <PgDn>.
  3684.  
  3685.       3.  From the protocol  menu,  select  the  menu  letter  of  the same
  3686.           protocol you told  the  remote  system  you would use.  Or, press
  3687.           <Enter> to accept the default protocol.
  3688.  
  3689.       4.  The next step varies a  little, depending on whether the protocol
  3690.           needs to be told the download filename.
  3691.  
  3692.              a.  If you are  using  one of BOYAN's built-in protocols, such
  3693.                  as  Xmodem or ASCII, BOYAN's "Auto-Find Filename"  feature
  3694.                  will determine the name of the file to be downloaded.   In
  3695.                  the download window, BOYAN displays the  filename  as well
  3696.                  as the directory pathname.  Press <UpArrow> if you wish to
  3697.                  edit the  drive/directory  into  which  the  file  will be
  3698.                  downloaded.  When the path and filename are correct, press
  3699.                  <Enter> at the "FILENAME:" prompt.   For  ASCII downloads,
  3700.                  you may have to  press  <Enter> one more time to signal to
  3701.                  the remote system that you are ready.   The  transfer will
  3702.                  begin.
  3703.  
  3704.  
  3705.  
  3706.    4.4.6:  BOYAN Command Capabilities                                    60
  3707.    ________________________________________________________________________
  3708.  
  3709.  
  3710.  
  3711.  
  3712.              b.  Alternatively, if you are using an external  protocol such
  3713.                  as Kermit, you do not have to enter the filename  at all--
  3714.                  the  protocol  takes  care  of  that.  You still have  the
  3715.                  chance to modify the drive  and  directory  which  will be
  3716.                  used  for  the  download.  Press <Enter>  at  the  "PATH:"
  3717.                  prompt; the transfer will begin.
  3718.  
  3719.       5.  Press <Esc> at any  time  to abort the download.  For Ymodem-type
  3720.           downloads, a bar to  the  left  of  the upload window graphically
  3721.           indicates the percentage of the file transfer completed.
  3722.  
  3723.       6.  When the transfer finishes,  BOYAN  sounds a brief alarm.  If the
  3724.           download was successful, the    total  transfer time and transfer
  3725.           efficiency will also be displayed.  The efficiency is based  on a
  3726.           pure transmission at full speed, so any figure above 75% is quite
  3727.           good.
  3728.  
  3729.    You will find that  BOYAN's  transfers almost always take less time than
  3730.    the remote system predicts they will!
  3731.  
  3732.  
  3733.    4.5  Session Logging
  3734.  
  3735.  
  3736.    4.5.1  <Alt-L> Log to Disk Toggle
  3737.  
  3738.    Press <Alt-L> to log all incoming text to a disk file.  You will have to
  3739.    enter the log file's name, or just hit  <Enter>  to  accept  the default
  3740.    (section 3.6).  If the file  exists,  BOYAN  will append the new text to
  3741.    the  end of the file.  When you begin logging, BOYAN runs the "Log  file
  3742.    init" Auto-macro, which adds  a  one-line status message to the log file
  3743.    giving the time and date.  Press <Alt-L> again to stop disk logging.
  3744.  
  3745.    Note that  BOYAN's Scroll-Back buffer offers a convenient alternative to
  3746.    the  <Alt-L> command:  at any time, you can scroll back through the text
  3747.    of  your session, and selectively mark regions to be filed to disk.  The
  3748.    Scroll-Back buffer is described in section 4.7.2.
  3749.  
  3750.    4.5.2  <Alt-S> Save Screen Image to Disk
  3751.  
  3752.    Press <Alt-S> to save the current  screen  to  a disk file.  This file's
  3753.    directory  and filename are configurable (section 3.6).    Each  time  a
  3754.    screen is saved, BOYAN appends a one-line header and the screen image to
  3755.    the end of the file.
  3756.  
  3757.  
  3758.  
  3759.    4.5.3:  BOYAN Command Capabilities                                    61
  3760.    ________________________________________________________________________
  3761.  
  3762.  
  3763.  
  3764.  
  3765.    4.5.3  <Alt-U> Toggle BOYAN.USE Usage Log File
  3766.  
  3767.    BOYAN automatically maintains an activity log file.   Unless  you change
  3768.    the configuration, the activity log will be called BOYAN.USE and will be
  3769.    saved in  the  BOYAN  home  directory.    The  log  keeps  track  of the
  3770.    following:
  3771.  
  3772.     - The date, time, and length of all system connections made with BOYAN.
  3773.  
  3774.     - All non-batch file transfers, including the filename,  protocol name,
  3775.       and  transfer  efficiency  percentage.  (For information  on  how  to
  3776.       record  Zmodem  batch  transfers  in  the usage log, please refer  to
  3777.       Appendix A.)
  3778.  
  3779.    BOYAN's Auto-macros allow you to  completely  customize  the  format and
  3780.    contents of the activity log.  For example, you could customize BOYAN to
  3781.    use the CDS (Call Data Standard) format for its usage  log.   Please see
  3782.    sections 3.9.3 and 3.6 for configuration information.
  3783.  
  3784.    4.5.4  <Ctrl-PrtSc> Printer Log Toggle
  3785.  
  3786.  
  3787.    After you press <Ctrl-PrtSc> all incoming text is logged (copied) to the
  3788.    printer.  Before printing starts, however, BOYAN offers  a  brief status
  3789.    line  menu  of  printer  options:  you  can  press I to run the  printer
  3790.    Initialization  macro;  L  to advance the printer to the next line; F to
  3791.    advance  the  printer to the next form (page); or M to  "type"  a  brief
  3792.    message to the  printer.    When  the  printer is set up properly, press
  3793.    <space> for BOYAN to start printing.
  3794.  
  3795.    To stop printer logging later, press <Ctrl-PrtSc> again.  (Section 3.9.3
  3796.    describes how to customize the printer initialization macro.)
  3797.  
  3798.    4.5.5  <Shift-PrtSc> Save Screen Image to Printer
  3799.  
  3800.    As always, the <Shift-PrtSc> command will copy the entire current screen
  3801.    to the printer.
  3802.  
  3803.  
  3804.    4.6  DOS and File Commands
  3805.  
  3806.  
  3807.    4.6.1  <Alt-F> The File Manager
  3808.  
  3809.    BOYAN houses a complete integrated file manager.  To  invoke  it,  press
  3810.    <Alt-F> from terminal mode.  BOYAN will read,  alphabetize,  and display
  3811.    the  names  of  the  files  found  in  the current directory.  Names  of
  3812.    subdirectories of the current directory are  also  displayed, surrounded
  3813.    by arrows.   The  free disk space is shown on the top line of the screen
  3814.  
  3815.  
  3816.  
  3817.    4.6.1:  BOYAN Command Capabilities                                    62
  3818.    ________________________________________________________________________
  3819.  
  3820.  
  3821.  
  3822.  
  3823.    (unless you disable this  feature  in  configuration--see  section 3.7).
  3824.    BOYAN handles up to 350 files in each subdirectory.
  3825.  
  3826.    At the bottom of the screen, you will see a menu of key options:
  3827.  
  3828.         Newdir Mark Send Upload Info List Fon Copy Del Exec Ren View Word
  3829.  
  3830.    Additional, unlisted options are Pattern, <Ctrl-P> = unmark pattern, Y =
  3831.    show free space, and <Ins> = issue DOS command.  However, these commands
  3832.    will be listed  on  the help screen if you press <F1>.  Note:  the Copy,
  3833.    Delete,  Execute, Rename, View, and Word  processor  commands  are  only
  3834.    available if there is enough memory for a DOS shell (see section 3.5).
  3835.  
  3836.    Most File Manager commands, such as  Copy  and Upload, may be applied to
  3837.    multiple  "marked"  files  at a time.  Use the space bar or the M key to
  3838.    selectively mark files for  the  operation; then select the command.  In
  3839.    any  DOS  command,  the symbol [marked] will be successively replaced by
  3840.    each of the marked  filenames.   For example, the command "COPY [marked]
  3841.    A:" will copy each marked file to the A: drive.
  3842.  
  3843.    Select from among the following commands:
  3844.  
  3845.     - <F1>:  View help screen.
  3846.  
  3847.     - <Esc> or mouse right button:  Return to terminal mode.
  3848.  
  3849.     - cursor  keys:    Use the four arrow keys to move the highlighted file
  3850.       bar from file to file.  Press <Home> to go to  the  beginning  of the
  3851.       directory, and <End> to go to the end.  If there  are  more  than 100
  3852.       files  in the directory, press <PgUp> and  <PgDn>  to  change  pages.
  3853.       Finally, use the <Ctrl-PgUp> and <Ctrl-PgDn> key combinations to move
  3854.       to the top and bottom, respectively, of the current column.
  3855.  
  3856.     - <Alt+letter>:  Move the highlight bar directly to  the  next filename
  3857.       which starts with that letter.  For example,  pressing  <Alt-E> would
  3858.       jump the highlight to the next filename starting with "E".
  3859.  
  3860.     - <space> or Mark:  Set/unset a  "mark"  on the current filename.  Mark
  3861.       as many files as you like within the directory.
  3862.  
  3863.     - <Enter>:  If  the  highlight  is  on  a  subdirectory  name, pressing
  3864.       <Enter>  enters  that  subdirectory.    On  the  other hand,  if  the
  3865.       highlight is on a filename, then the <Enter> key selects  the current
  3866.       "default File Manager option."   This default option depends on which
  3867.       BOYAN  command  is  making use of the File Manager.  For example, the
  3868.       <Ctrl-PgUp> upload command invokes  the  File  Manager with a default
  3869.       option of U, so that to upload the marked files  you  need only press
  3870.       <Enter>.
  3871.  
  3872.  
  3873.  
  3874.    4.6.1:  BOYAN Command Capabilities                                    63
  3875.    ________________________________________________________________________
  3876.  
  3877.  
  3878.  
  3879.  
  3880.     - mouse left button:
  3881.  
  3882.        * single click:  Set highlight bar at the mouse cursor position.
  3883.  
  3884.        * hold down and drag:  Move highlight bar with mouse.
  3885.  
  3886.        * double-click on filename:  Same as pressing <Enter>.
  3887.  
  3888.        * single click on menu  line:   Select option from choices listed on
  3889.          line 24 of the screen.
  3890.  
  3891.     - Copy:  Press C to copy file(s).   Type  the  target  for the copy and
  3892.       press <Enter>.    Note:  you  may print any file by copying it to the
  3893.       file PRN .
  3894.  
  3895.     - Delete:  To  delete  file(s),  press  D.   As with any other command,
  3896.       press <Esc> to abort or <Enter> to accept.
  3897.  
  3898.     - Execute script:  Press E to execute the highlighted .BSC  file (BOYAN
  3899.       script file).
  3900.  
  3901.     - Execute file(s):   To  invoke  .EXE,  .COM, or .BAT file(s), press E.
  3902.       You  may  add  any command line parameters to the end of the filename
  3903.       before pressing <Enter>.
  3904.  
  3905.     - FON  file:    If  the  highlight is on a .FON file in your  FON  file
  3906.       directory, then press F to activate that file as your current Dialing
  3907.       Directory.
  3908.  
  3909.     - Info  about file size:  Pressing I gives the size of the current file
  3910.       in  bytes,  and  the  approximate  length  of  time  it would take to
  3911.       transfer the file at the current  baud  rate.   If your port speed is
  3912.       19200 or 38400 baud, then the estimate will  be  based  on  the speed
  3913.       given in your modem's "CONNECT xxxx" message, even  if  BOYAN's Auto-
  3914.       Detect baud rate feature is OFF.
  3915.  
  3916.     - List filename(s) to BOYMARK.LST:   Selecting L quits the File Manager
  3917.       and creates a BOYMARK.LST file  in the current directory containing a
  3918.       list  of  all  the   marked   filenames,   including  the  full  path
  3919.       specification for each.   If  no  files  are marked, then BOYMARK.LST
  3920.       will contain the name of the single highlighted file.
  3921.  
  3922.     - New directory:  When you press N you will be given a new "DIR" prompt
  3923.       so you can change drives, directories, or file specifiers.    If  the
  3924.       highlight was on a  subdirectory  name, you can just press <Enter> to
  3925.       select that subdirectory for viewing.
  3926.  
  3927.  
  3928.  
  3929.    4.6.1:  BOYAN Command Capabilities                                    64
  3930.    ________________________________________________________________________
  3931.  
  3932.  
  3933.  
  3934.  
  3935.     - Pattern  mark:   Use this command to mark many files at  once.    For
  3936.       example, to delete all files with a suffix of .BAK, you would type P,
  3937.       *.BAK <Enter>, D <Enter>.
  3938.  
  3939.     - <Ctrl-P> pattern unmark:  Use this command to unmark  many  files  at
  3940.       once.  For example, to delete all files except those with a suffix of
  3941.       .BAK, you would first mark all files with P <Enter>, then  unmark the
  3942.       .BAK  files  with  <Ctrl-P>  *.BAK  <Enter>, and finally  delete  the
  3943.       remaining marked files with D <Enter>.
  3944.  
  3945.     - Rename:   Press R to rename file(s).  Then type the new name for  the
  3946.       file and press <Enter>.
  3947.  
  3948.     - Send filename(s) over modem:  Press S to send filename(s) directly to
  3949.       the modem, as if you had typed them by hand.  BOYAN adds a <CR> after
  3950.       each filename.
  3951.  
  3952.     - Upload file(s):  Press U  to upload a file or files.  If no files are
  3953.       marked, BOYAN simply opens the Upload Window for the highlighted file
  3954.       so you can select a protocol and upload the file (section 4.4.4).  If
  3955.       multiple  files  are  marked,   BOYAN   lists   those   filenames  to
  3956.       BOYMARK.LST, then enters the Upload Window with a default filename of
  3957.       @D:BOYMARK.LST  (where  d  is  the  current drive letter).    Several
  3958.       external  protocols--including  Zmodem, batch-Ymodem,  and  MPt--will
  3959.       handle  such a file list properly, uploading each  of  the  files  in
  3960.       turn.  Note:  this is the  default  command  if  you  enter  the File
  3961.       Manager by pressing <Ctrl-PgUp> from terminal mode.
  3962.  
  3963.     - View:  Press V to view  the  file(s)  using the TYPE command or other
  3964.       command which you have substituted (section 3.6).
  3965.  
  3966.     - Word processor:  Press W to  edit  the  file using the TED program or
  3967.       other editor which you have substituted (section 3.6).
  3968.  
  3969.     - Y = Free  space:   press Y to display the amount of free space on the
  3970.       drive.  (The free space is displayed automatically if the "Check Free
  3971.       disk space" setting is ON in Config Area <D>.)
  3972.  
  3973.     - <Ins>,  Issue  DOS  Command:  Press <Ins> to bring up the ">" prompt.
  3974.       Type any  DOS  command  and  BOYAN will execute it.  If any files are
  3975.       marked, you may include the string [marked] in the DOS command; BOYAN
  3976.       will then create and execute a batch file where a marked  filename is
  3977.       substituted for [marked] on each line.
  3978.  
  3979.    4.6.2  <Alt-J> Jump to DOS
  3980.  
  3981.    If you have  reserved  enough  memory  for a DOS shell, pressing <Alt-J>
  3982.    will jump you directly into a DOS shell.    From  DOS,  you may use your
  3983.    word  processor,  un-zip  a file, or run your spreadsheet.  When you are
  3984.  
  3985.  
  3986.  
  3987.    4.6.2:  BOYAN Command Capabilities                                    65
  3988.    ________________________________________________________________________
  3989.  
  3990.  
  3991.  
  3992.  
  3993.    ready to return to BOYAN, be sure the BOYAN disk is in the same drive it
  3994.    had been in before the shell, and type EXIT at the  DOS  prompt.   BOYAN
  3995.    will return to your communication session as if you had never left it.
  3996.  
  3997.    4.6.3  <Alt-N> New Default Drive/Directory
  3998.  
  3999.    To  change  the  current logged drive or subdirectory, press <Alt-N> and
  4000.    enter  the  new  path.     Valid  examples  are  B:,  \MODEM\FILES,  and
  4001.    c:\utility.
  4002.  
  4003.    4.6.4  <Alt-V> View File
  4004.  
  4005.    To  view  the  contents of an ASCII file, press <Alt-V>.  When prompted,
  4006.    you may either  directly  type  the  name  of  a  file to view, or press
  4007.    <Enter>  to  select  from  the  File  Manager.   If you invoke the  File
  4008.    Manager, you may use the space bar to  select  multiple  files  to view;
  4009.    then press <Enter> to view the file(s).
  4010.  
  4011.    You may configure the DOS command used by  BOYAN  for  viewing  files in
  4012.    section 3.6.
  4013.  
  4014.    4.6.5  <Alt-W> Word Process (Edit) File
  4015.  
  4016.    To edit an ASCII file, press <Alt-W>.   When  prompted,  you  may either
  4017.    directly type  the  name  of  a file to edit, or press <Enter> to select
  4018.    from the File  Manager.  If you invoke the File Manager, you may use the
  4019.    space bar to select multiple files  to  edit; then press <Enter> to edit
  4020.    the file(s).
  4021.  
  4022.    You may configure the DOS command used by  BOYAN  for  editing  files in
  4023.    section 3.6.
  4024.  
  4025.    4.6.6  <Alt-Y> Free Space on Disk
  4026.  
  4027.    Press <Alt-Y> to find the number of bytes of free  storage  space on any
  4028.    disk.  Select the drive by letter, or just press <Enter> to see the free
  4029.    space on the current disk.
  4030.  
  4031.    4.6.7  <Ins> Issue DOS Command
  4032.  
  4033.    If  you  have  reserved enough memory for a DOS shell (see section 3.5),
  4034.    pressing <Ins> will bring up the  ">"  prompt.   Type any DOS command or
  4035.    program name and BOYAN will execute it.
  4036.  
  4037.  
  4038.  
  4039.    4.7.1:  BOYAN Command Capabilities                                    66
  4040.    ________________________________________________________________________
  4041.  
  4042.  
  4043.  
  4044.  
  4045.    4.7  Scroll-Back Buffer, Scripts, etc.
  4046.  
  4047.  
  4048.    4.7.1  <Alt-R> Run Script File
  4049.  
  4050.    Almost any action BOYAN performs can be automated with the use  of BOYAN
  4051.    Script  Files.  A BOYAN Script File is a series of macro commands stored
  4052.    in a normal text file.   A  full description of BOYAN's script language,
  4053.    along with appropriate examples, is in chapter 5.
  4054.  
  4055.    When you press <Alt-R>, you are prompted to enter the name of the script
  4056.    file to  run.    The  script file takes control, replacing the  BOYAN v5
  4057.    message  on  the  status  line  with  its  name.  While the script  file
  4058.    controls BOYAN, the only valid  keyboard commands is <Esc>, which aborts
  4059.    the script.
  4060.  
  4061.    As you will learn in chapter 5, the commands within a script file can be
  4062.    organized into "blocks".  To run just one of those blocks,  respond with
  4063.    scriptname;blockname  to the "SCRIPT:" prompt.  For example, to run just
  4064.    the "logon" block of  the  "wildcat" script, you would press <Alt-R> and
  4065.    respond "wildcat;logon".
  4066.  
  4067.    Although programming scripts from  scratch  can  be quite complex, BOYAN
  4068.    provides a facility which writes custom scripts for you.  This facility,
  4069.    called "Script Learn," operates within BOYAN's Scroll-Back buffer.
  4070.  
  4071.    4.7.2  <UpArrow> Scroll-Back Buffer
  4072.  
  4073.    BOYAN provides a unique Scroll-Back feature.  After reserving memory for
  4074.    its  own  variables and the DOS Shell  (section  3.5),  BOYAN  uses  all
  4075.    remaining memory for the  Scroll-Back  Buffer,  which traps all incoming
  4076.    text from the  modem and "remembers" it so you can scan it later.  BOYAN
  4077.    can often save thousands of lines of past text.  Furthermore, the buffer
  4078.    remembers  what  YOU  type.    This  is  the  trick  which   lets  BOYAN
  4079.    automatically build  script files for you, from a communications session
  4080.    which has already been completed!
  4081.  
  4082.    Press the <UpArrow> key to invoke the Scroll-Back Buffer.  Your "current
  4083.    position" is  at  the  bottom  of the screen.  A number in the top-right
  4084.    corner tells you which line  of the buffer you are on.  You now have the
  4085.    following options:
  4086.  
  4087.     - <F1>:  detailed help.
  4088.  
  4089.     - <Esc> or right mouse button:  exit the Scroll-Back Buffer  and return
  4090.       to terminal mode.
  4091.  
  4092.     - <UpArrow>, <DownArrow>:  scroll line-by-line through the buffer.
  4093.  
  4094.  
  4095.  
  4096.    4.7.2:  BOYAN Command Capabilities                                    67
  4097.    ________________________________________________________________________
  4098.  
  4099.  
  4100.  
  4101.  
  4102.     - <PgUp>, <PgDn>:  scroll page-by-page through the buffer.
  4103.  
  4104.     - <End>:  move to the end  of  the  buffer, which shows the most recent
  4105.       communication.  Press  <End>,  then  <PgDn>  to  see  the  first page
  4106.       (oldest text) in the buffer.
  4107.  
  4108.     - <Home>:  scroll back to the beginning of your last connection.  Every
  4109.       time you make a  connection,  BOYAN places an invisible marker in the
  4110.       buffer.  <Home> takes you back to each of these markers in turn.
  4111.  
  4112.     - mouse left button:
  4113.  
  4114.        * click and hold near top of screen:  scroll up through the buffer.
  4115.  
  4116.        * click and hold  near  bottom  of  screen:  scroll down through the
  4117.          buffer.
  4118.  
  4119.        * single click on menu  line:   Select option from choices listed at
  4120.          the bottom of the screen.
  4121.  
  4122.     - File:  To  file a region of text to disk, first mark the beginning of
  4123.       the region with the M command.  Then use the cursor keys to place the
  4124.       last line of  the region at the bottom of the screen.  When you press
  4125.       F,  you will be prompted to enter a filename (or press <Enter> to use
  4126.       the  default;  see  section 3.6).  The region will be appended to the
  4127.       disk file.
  4128.  
  4129.     - Go to mark:   pressing G scrolls so that the marked line is placed at
  4130.       the bottom of the screen.
  4131.  
  4132.     - Locate:  search for text within the buffer.  You will be prompted for
  4133.       a string to locate.  BOYAN's locate routine is not case-sensitive, so
  4134.       "bOyAn" will  match  "BoYaN".    If  the  string is found, the buffer
  4135.       scrolls so the string is on  the  bottom  line of the buffer, and the
  4136.       line is highlighted.  To search back further in the buffer  for other
  4137.       occurrences of the same string, press L, then <Enter>.
  4138.  
  4139.     - Mark:  To use the scroll-back buffer's F, P, Q,  and  W commands, you
  4140.       must  first mark the beginning of the region with the M command.  Use
  4141.       the cursor keys to move the first line of the  desired  region to the
  4142.       bottom  line  of  the screen.  Then press M.  The mark is set and the
  4143.       line is highlighted.
  4144.  
  4145.     - Print:  When you want to print a region of text,  the  first  line of
  4146.       the region must already have been  marked  with the M command.  Then,
  4147.       use the cursor keys to place the  last  line  of  the  region  at the
  4148.       bottom of the  screen.   When you press P, you will be able to set up
  4149.       the printer automatically with BOYAN's printer interface (see section
  4150.       4.5.4), and then the region will be printed.
  4151.  
  4152.  
  4153.  
  4154.    4.7.2:  BOYAN Command Capabilities                                    68
  4155.    ________________________________________________________________________
  4156.  
  4157.  
  4158.  
  4159.  
  4160.     - Quick-learn region:  The Q command lets expert BOYAN users bypass the
  4161.       normal interactive Script Learn Mode.  To use this command,  mark the
  4162.       top line  of  the  region  to learn, and then scroll so that the last
  4163.       line of the  region is at the bottom of the screen.  BOYAN will learn
  4164.       a  script file covering the entire  region,  suppressing  the  normal
  4165.       Waitfor/Response prompts.   Since  this script may well require fine-
  4166.       tuning,  BOYAN  offers  you the chance to edit the script immediately
  4167.       after learning it.
  4168.  
  4169.     - Script Learn Mode:  described below.
  4170.  
  4171.     - Word process (edit) region:  Like the F command, this  command writes
  4172.       the region between the mark and the current bottom line of the screen
  4173.       to a disk file.  However, the W command then immediately invokes your
  4174.       text  editor  on  that  file.   This is a handy way to quote  from  a
  4175.       message, for example.
  4176.  
  4177.    Note  that  if  the buffer should become full, the oldest  text  in  the
  4178.    buffer will be overwritten by new text as it flows in.
  4179.  
  4180.    4.7.3  Script Learn Facility
  4181.  
  4182.    The most common use of script files is probably for automatic logging-on
  4183.    to  a  system.   Rather than making you mechanically enter your name and
  4184.    password each time you connect, the  computer  should be able to do this
  4185.    for  you.    BOYAN  script  files  are  wonderful  for  automating  such
  4186.    communication chores--typing out  answers  to prompts which are the same
  4187.    every  time.   Best yet, you do not even have to  learn  BOYAN's  Script
  4188.    Language  in  order  to  write  custom scripts.  BOYAN's "Script  Learn"
  4189.    facility writes them for you.
  4190.  
  4191.    During a communication session the scroll-back buffer always keeps track
  4192.    of which portions  of  the  buffered  text were received from the remote
  4193.    system,  and  which  portions were typed by you.  It also remembers when
  4194.    you  executed  certain  commands, such as clearing the screen, opening a
  4195.    disk log file, or hanging up.    Later,  even after you have logged off,
  4196.    BOYAN can convert any region of the scroll-back buffer into an automated
  4197.    script file.  All you  have  to  do  is  find the location in the buffer
  4198.    where you want learning to start, and press S.
  4199.  
  4200.    4.7.3.1  Example: Auto-Logon Scripts
  4201.  
  4202.    The  simple  procedure  outlined below demonstrates how  to  make  BOYAN
  4203.    "learn" a script to automate logging onto a typical system.
  4204.  
  4205.       1.  Dial the system and log on as usual.  Enter your  name, password,
  4206.           etc. at all the appropriate prompts.  When you reach the point at
  4207.           which  you  want  the  automatic  logon  to  stop--typically  the
  4208.  
  4209.  
  4210.  
  4211.    4.7.3.1:  BOYAN Command Capabilities                                  69
  4212.    ________________________________________________________________________
  4213.  
  4214.  
  4215.  
  4216.  
  4217.           system's "Main Menu"--press <UpArrow>  to  enter  BOYAN's Scroll-
  4218.           Back buffer.
  4219.  
  4220.       2.  The next step is to scroll back to the first  line  in the buffer
  4221.           to be learned.  That line should be placed at  the  bottom of the
  4222.           screen.  In the case of a logon script, you can do this by simply
  4223.           pressing  <Home>, which scrolls back to  the  beginning  of  your
  4224.           session.
  4225.  
  4226.       3.  Press S to start Script Learning.  You will be prompted  to enter
  4227.           a  name  for your script file.  Type a name of  1-8  letters  and
  4228.           press  <Enter>.    (You  do  not  need  to  add the ".BSC" script
  4229.           filename suffix; BOYAN does that automatically.)  If the file you
  4230.           specify already exists, BOYAN asks you to choose whether to [A]dd
  4231.           to the current script, or build a [N]ew  script  (overwriting the
  4232.           old one).
  4233.  
  4234.       4.  BOYAN will scroll to find the first system prompt  to  which  you
  4235.           responded.  That prompt  will  be  highlighted  on the screen and
  4236.           also  displayed  on  the Status Line, where  BOYAN  displays  the
  4237.           message "WaitFor:".  All you have  to  do is press <Enter>.  This
  4238.           confirms  that you want the auto-logon script  to  wait  for  the
  4239.           prompt before continuing.   (Note:  if  the  prompt is very long,
  4240.           BOYAN  only  needs  to know its last 25 characters.  It is normal
  4241.           for the beginning of the prompt not to be highlighted.)
  4242.  
  4243.       5.  Next,  the  status  line displays your response to the prompt, as
  4244.           shown  in  the  Scroll-Back buffer.  Your response is followed by
  4245.           the  "{"  character,  which symbolizes a Carriage Return.  If the
  4246.           response shown is correct, just press <Enter>.
  4247.  
  4248.       6.  BOYAN scrolls ahead to find  the next system prompt you answered.
  4249.           Again,  confirm  BOYAN's   "WaitFor:"  and  "Response:"  cues  by
  4250.           pressing  <Enter>.    As  you  continue to press  <Enter>,  BOYAN
  4251.           automatically  builds  the  logon  script  in  your  script  file
  4252.           directory.
  4253.  
  4254.       7.  When you reach the  end  of  the  buffer, BOYAN reports "learning
  4255.           finished."    (You  may  also  finish  by  pressing <Esc>  before
  4256.           reaching the end of the buffer,  if  the region to learn does not
  4257.           extend to the end of the buffer.)  Press <Esc>  to  return to the
  4258.           communication screen.
  4259.  
  4260.       8.  Now that the auto-logon script  has been written, you must follow
  4261.           one last step to make the logon completely automatic:    put  the
  4262.           logon script name in the system's dialing directory entry.  Press
  4263.           <Alt-D><E> to edit the entry, press enough <Enter>'s  to  move to
  4264.           the  "Script" column, and type the  name  of  your  newly-created
  4265.           script.  Then press <PgDn> to complete the directory entry.
  4266.  
  4267.  
  4268.  
  4269.    4.7.3.2:  BOYAN Command Capabilities                                  70
  4270.    ________________________________________________________________________
  4271.  
  4272.  
  4273.  
  4274.  
  4275.    That's it!  The next time you dial that system,  the  logon will proceed
  4276.    entirely automatically.
  4277.  
  4278.    4.7.3.2  Password Security Feature
  4279.  
  4280.    BOYAN's Script Learn Mode includes logic to determine when you  may have
  4281.    typed your password to the remote system.  In such  a  case, it provides
  4282.    you with a default response consisting of not your actual  password, but
  4283.    rather the  macro  %PW{  .   This macro, when executed in a script file,
  4284.    sends your system password as specified in the  Dialing  Directory (plus
  4285.    <Enter>).   Using  %PW  in  a script instead of the literal text of your
  4286.    password has several advantages:
  4287.  
  4288.     - If  you  change  your password, you do not need to  edit  your  logon
  4289.       script file;
  4290.  
  4291.     - You can use the same script file with many systems, even if you use a
  4292.       different password on each;
  4293.  
  4294.     - You can share your script files without compromising  the  privacy of
  4295.       your passwords.
  4296.  
  4297.    4.7.3.3  Details on Script Learning
  4298.  
  4299.    An  auto-logon  script  file is just one example of the kinds of scripts
  4300.    BOYAN can "learn."  The procedure described above works just as well for
  4301.    learning any part  of  any  session.    For  example,  if a system has a
  4302.    cumbersome  signing-off process, you could make  BOYAN  learn  an  auto-
  4303.    logoff script.    To  invoke  that  script  later, you would use BOYAN's
  4304.    <Alt-R> "Run script  file"  command,  and  type the script's name.  (You
  4305.    could also assign a script file to a single keypress--see  section 5.3.)
  4306.    A summary of the learning procedure is on Help Screen K, the Scroll-Back
  4307.    buffer help screen.
  4308.  
  4309.    BOYAN's Learn Facility is unique in allowing you to  decide  "after  the
  4310.    fact" to go back and learn a script file.  If your scroll-back buffer is
  4311.    large enough, you can even wait  until  after you have logged off before
  4312.    learning a script, saving on connect fees and long-distance rates.
  4313.  
  4314.    BOYAN's Learn mode is also unique  in  letting you "touch up" the script
  4315.    file as it is  created,  thus sparing the need for later trial-and-error
  4316.    editing.  At the  "WaitFor"  and "Response" prompts, you have the chance
  4317.    to edit BOYAN's suggested  values  with the Line Editor.  The "Response"
  4318.    prompt, in particular, gives you a  great  deal of flexibility:  you can
  4319.    enter  not just a string to be sent over the modem, but any BOYAN  macro
  4320.    command.  For example, to make a response of control-C, type  ^C  at the
  4321.    "Response" prompt, overwriting the default response.  To make the script
  4322.    automatically send a modem break signal, append the  \SB   macro command
  4323.    after your actual (typed) response.
  4324.  
  4325.  
  4326.  
  4327.    4.7.3.3:  BOYAN Command Capabilities                                  71
  4328.    ________________________________________________________________________
  4329.  
  4330.  
  4331.  
  4332.  
  4333.    In  addition to keeping track of  the  WaitFor/Response  pairs,  BOYAN's
  4334.    Scroll-back Buffer remembers when any  of the following macros are used:
  4335.    \BB* (Beeps & Bells ON/OFF), \EC* (Echo keyboard ON/OFF), \HU (Hang Up),
  4336.    \LD* (Log to Disk ON/OFF), \PR* (Log to Printer ON/OFF), \RC (Reset text
  4337.    Color), \UF* (Usage File  logging  ON/OFF), and \ZS (Zap screen).  These
  4338.    macros are copied, with comments, into a script as it  as  learned.  You
  4339.    are  given  the chance to edit these  macro  commands  at  the  "Macro:"
  4340.    prompt.
  4341.  
  4342.    If your system has 256K of memory or  less,  or  if  you have reserved a
  4343.    large amount of memory for BOYAN's DOS Shell (in Config Area  <S>), then
  4344.    BOYAN's Scroll-Back buffer  may  not  be  very  large.  In this case, be
  4345.    especially  careful to insure that the region to  be  learned  does  not
  4346.    scroll out of the top of the buffer.
  4347.  
  4348.    4.7.4  <Alt-M> Enter Macro Manually
  4349.  
  4350.    After pressing <Alt-M> you  will  be  prompted,  "MACRO:".  Whatever you
  4351.    enter  will be instantly processed as a macro.  For example, if you type
  4352.    the macro \RE50[-], then a line  of  fifty  dashes will be sent over the
  4353.    modem.   BOYAN  remembers  the  macro you type so that the next time you
  4354.    select  <Alt-M>,  you  can reuse or edit your previous macro.  More than
  4355.    300 macro commands  and  variables  are  available;  see  chapter  5 for
  4356.    details.
  4357.  
  4358.  
  4359.    4.8  BOYAN's Host Mode
  4360.  
  4361.  
  4362.    BOYAN's main purpose is to make your computer act as a terminal, dialing
  4363.    out to connect with  other  "host" systems.  However, using BOYAN's Host
  4364.    Mode, your computer can act as a simple host, accepting calls from other
  4365.    terminals.  BOYAN allows you to maintain a database of up to 70 callers,
  4366.    each with their own password and user level.  The available  user levels
  4367.    and functions are:
  4368.  
  4369.     - User  Level  0 (New User) - View  file  directories;  view  ZIP  file
  4370.       contents; read messages; leave private comment to operator.
  4371.  
  4372.     - User  Level  1  (Normal User) -  Level  0  functions,  plus:    Enter
  4373.       messages; download and upload files in the Host directory.
  4374.  
  4375.     - User Level  2  (Sysop)  -  Level  1  functions, plus:  Kill messages;
  4376.       download and upload files to any  directory;  Jump to DOS and run any
  4377.       program remotely; Shut down Host mode.
  4378.  
  4379.  
  4380.  
  4381.    4.8.1:  BOYAN Command Capabilities                                    72
  4382.    ________________________________________________________________________
  4383.  
  4384.  
  4385.  
  4386.  
  4387.    It is simple to modify the  available  functions at each user level, add
  4388.    more  user levels, or even add new commands.  Since BOYAN's Host Mode is
  4389.    implemented as  a  script  file,  every  aspect  of its operation can be
  4390.    customized for your needs.
  4391.  
  4392.    4.8.1  Preliminaries
  4393.  
  4394.    To use BOYAN's Host, you must have a  modem  which  meets  the following
  4395.    basic conditions:
  4396.  
  4397.       1.  It can accurately report the "Carrier Detect" signal as described
  4398.           in section 2.3.2.
  4399.  
  4400.       2.  When  your phone rings, it displays the  "RING"  message  on  the
  4401.           screen.
  4402.  
  4403.       3.  When  you  establish  a  connection  at 1200 baud or greater,  it
  4404.           displays the "CONNECT xxxx" message,  where xxxx is the baud rate
  4405.           of the connection.
  4406.  
  4407.    Almost all Hayes-compatible modems will work with BOYAN's Host.
  4408.  
  4409.    The mechanics of BOYAN's Host Mode are contained in the  HOST.BSC script
  4410.    file, located in your BOYAN script directory.  The Host Mode  also makes
  4411.    use of the  HOST.BAM  Action  Module,  which allows you to configure the
  4412.    host in Config Area <A>, and enables the host's  "Local  Test"  feature.
  4413.    Finally, if you wish to run full-screen programs (like a  word processor
  4414.    or database) remotely, you must  install  Marshall  Dudley's DOORWAY.EXE
  4415.    program into your BOYAN directory.
  4416.  
  4417.    BOYAN's Host Mode can be used  in  any  of three different types of con-
  4418.    nection:  Modem, Direct, and Local Test.
  4419.  
  4420.     - A MODEM connection means that the  Host  waits for the phone to ring,
  4421.       tells the modem to answer, and hangs up  the  modem  when  the caller
  4422.       logs off.  This is the normal mode of operation.
  4423.  
  4424.     - A DIRECT connection means that the Host does not require the phone to
  4425.       ring  or  a  modem's carrier signal.    If  you  have  connected  two
  4426.       computers  with a "null modem" cable, BOYAN's  Host  in  DIRECT  mode
  4427.       provides  a   convenient  way  to  transfer  files  between  the  two
  4428.       computers.
  4429.  
  4430.     - A LOCAL TEST connection actually causes the Host not to send any data
  4431.       over the serial  port  at  all.    When  in  LOCAL TEST mode, you can
  4432.       operate the Host mode locally--to test how it works without having to
  4433.       call in from another computer.
  4434.  
  4435.  
  4436.  
  4437.    4.8.2:  BOYAN Command Capabilities                                    73
  4438.    ________________________________________________________________________
  4439.  
  4440.  
  4441.  
  4442.  
  4443.    Local  Test  mode is selected with option J in Config Area  <A>.    When
  4444.    Local Test mode is OFF, option  I  in  Config Area <A> toggles between a
  4445.    MODEM connection (YES) and a DIRECT connection (NO).  Please  refer back
  4446.    to section 3.10.3 for complete configuration instructions.
  4447.  
  4448.    4.8.2  <Alt-I> Invoking Host Mode
  4449.  
  4450.    Press the <Alt-I> key to invoke the HOST script file.  The message "Host
  4451.    Mode Invoked" will be recorded in the HOST.USE usage log.    If you have
  4452.    selected a MODEM connection,  then  BOYAN will wait for the modem's RING
  4453.    message, answer the phone, and set the modem speed based on the "CONNECT
  4454.    xxxx" message.  (Exception:  BOYAN does not wait for the RING message if
  4455.    it  detects  that  the modem is already online.)  Otherwise, if you have
  4456.    selected a DIRECT or LOCAL TEST connection, BOYAN  will  immediately act
  4457.    as a host, prompting for a name and password.
  4458.  
  4459.    4.8.3  Using the Host
  4460.  
  4461.    BOYAN's Host Mode offers much the same feel as a Bulletin  Board System.
  4462.    In the description of the Host session which follows, we'll suppose that
  4463.    someone named  Barney  has  called  your  system,  and you are the Sysop
  4464.    watching on the Host Mode end.    Note  that whenever Barney is asked to
  4465.    respond  to  a  Host Mode prompt, you (the Sysop) may "assist Barney" by
  4466.    typing his answer for him.
  4467.  
  4468.    "Welcome to BOYAN 5 Host!" greets Barney when he connects.  As prompted,
  4469.    he enters his full name and password.  If this is Barney's first call to
  4470.    the  host, he will be asked to choose a password.  BOYAN then creates  a
  4471.    new entry in the Host Mode database which looks like this:
  4472.  
  4473.         Barney Rubble;bambam;0; first called on 09/22/91 at 10:45
  4474.  
  4475.    The "0" represents the  User  Level of 0 which is automatically assigned
  4476.    to all new users.  To raise Barney's User Level to 1 (regular user) or 2
  4477.    (Sysop), you should  select  the  <L>  option from the local Sysop menu.
  4478.    Alternatively,  you  may  edit the Host user database directly in Config
  4479.    Area <A>.
  4480.  
  4481.    Having successfully logged Barney  onto  the  system, BOYAN searches the
  4482.    Host Messages directory for a file named WELCOME.MSG (use a  text editor
  4483.    to create this file).  If the  file  is  found,  BOYAN  displays  it for
  4484.    Barney.  As the message is being displayed,  he  may  press  <Ctrl-S> to
  4485.    pause the output and <Ctrl-Q> to resume it.
  4486.  
  4487.    Now,  Barney  reaches  the Boyan-Host Command Menu,  which  offers  many
  4488.    commands.   A description of each of the commands follows.  Next to each
  4489.    command  is  the minimum user level (0, 1, or 2) required  to  use  that
  4490.    command.
  4491.  
  4492.  
  4493.  
  4494.    4.8.4:  BOYAN Command Capabilities                                    74
  4495.    ________________________________________________________________________
  4496.  
  4497.  
  4498.  
  4499.  
  4500.    4.8.4  Host User Command Menu
  4501.  
  4502.     - Comment to operator (0):  Allows Barney to enter a private message to
  4503.       you.  The comments are all stored in a single file named COMMENTS.HOS
  4504.       in the Host Message directory.  The HOST.USE file records that Barney
  4505.       left a comment.  You may view the comments by selecting option <W> on
  4506.       the Sysop menu.
  4507.  
  4508.     - Download a file (1):  Transfers a file from your system  to Barney's.
  4509.       First, Barney is prompted to specify the protocol he  wishes  to  use
  4510.       for the file transfer.  Then, he is asked for the name of the file to
  4511.       download.   This is usually a single filename,  but  it  may  include
  4512.       wildcards (i.e., *.ZIP) if Barney  has selected a batch file protocol
  4513.       such as Zmodem.  If  Barney has user level 2, he may give a full path
  4514.       specifier as part  of  the  name;  at  user level 1, the file(s) must
  4515.       exist  in  the  Host  Files  directory.    Barney  is  told to  begin
  4516.       downloading;  from  your  end it looks like an upload to Barney.  The
  4517.       file transfer is recorded as an upload in the HOST.USE log.
  4518.  
  4519.     - Enter a new message (1):   Lets  Barney  type a message file that all
  4520.       callers  can  read.   The message should  be  given  a  name  of  1-8
  4521.       characters; it will  be  saved  under  that  name + a suffix of .MSG.
  4522.       Barney will be prompted to enter his message, line-by-line.  The Host
  4523.       offers "word-wrap" so Barney does not need to press  <Enter>  at  the
  4524.       end of each line.  After finishing his message  by  pressing  <Enter>
  4525.       twice, Barney may Abort, Continue, List, or Save his message.   If he
  4526.       saves the message, that information  will be recorded in the HOST.USE
  4527.       file.
  4528.  
  4529.     - File  listing  (0):    Displays  a  DIR  listing  of  the Host  Files
  4530.       directory.
  4531.  
  4532.     - Goodbye  (0):    Logs  Barney  off  from  the system.  The length  of
  4533.       Barney's  call  is recorded in the HOST.USE  file.    The  Host  Mode
  4534.       automatically "cycles" to  prepare  for  the  next caller.  Note:  if
  4535.       Barney  simply  hangs  up  the  modem without selecting G, BOYAN  can
  4536.       usually  detect  it  and  cycle  properly.  Nevertheless, it is  more
  4537.       reliable to log off with the G command.
  4538.  
  4539.     - Jump to DOS  (2):    Allows  Barney  to remotely take control of your
  4540.       computer's DOS.  If  you  do  not  have Marshall Dudley's DOORWAY.EXE
  4541.       program installed in your BOYAN directory, then Barney  will  be able
  4542.       to  execute  only  simple  DOS  programs such as TYPE, COPY,  DELETE,
  4543.       PKUNZIP,  and EDLIN.  However, if  you  have  installed  DOORWAY.EXE,
  4544.       Barney can run any program at all on your system:  spreadsheets, word
  4545.       processors,  etc.    Please see the DOORWAY  documentation  for  full
  4546.       details.    To  return from DOS to BOYAN's Host, Barney must type the
  4547.       DOS command EXIT.  The HOST.USE log notes that Barney jumped to DOS.
  4548.  
  4549.  
  4550.  
  4551.    4.8.4:  BOYAN Command Capabilities                                    75
  4552.    ________________________________________________________________________
  4553.  
  4554.  
  4555.  
  4556.  
  4557.     - Kill a message (2):  Allows Barney to delete any  of  the *.MSG files
  4558.       in the Host Message directory.
  4559.  
  4560.     - List  message  titles  (0):  Displays a listing of all *.MSG files in
  4561.       the Host Messages directory.  (The HOST.BSC script does this by first
  4562.       using DOS to create a temporary  file  with the DIR listing, and then
  4563.       ASCII-uploading this temporary file.    This  method allows Barney to
  4564.       use the <Ctrl-S>  key  to  pause  the display, and <Ctrl-Q> to resume
  4565.       it.)
  4566.  
  4567.     - New password (0):  This allows Barney to  change  his  password.   He
  4568.       must type his previous password once and his new  password  twice  to
  4569.       confirm the change.   The  HOST.USE log notes that Barney changed his
  4570.       password.
  4571.  
  4572.     - Operator page (0):  If it is not between midnight  and  8:00 am, this
  4573.       command sounds an alarm on your computer.   Press  G  to  Gossip with
  4574.       Barney  or  <space>  to give him a polite message that  you  are  not
  4575.       available to chat.  To return  Barney  to the Host Command Menu after
  4576.       chatting, type <Tab>, R.
  4577.  
  4578.     - Read a message (0):  Prompts Barney to type the name of the .MSG file
  4579.       to read, and displays it for him.
  4580.  
  4581.     - Shut down host (2):  Allows Barney to abort the HOST script remotely.
  4582.       Not only does this command log Barney out, but no further  calls will
  4583.       be answered by the host.
  4584.  
  4585.     - Upload a file (1):  Transfers  a  file from Barney's system to yours.
  4586.       The upload procedure  is  exactly analagous to the download procedure
  4587.       described  above.    Barney must have user level 2 in order to upload
  4588.       into a directory other than the Host Files directory.  In no case may
  4589.       Barney upload over a file which already exists;  to  accomplish that,
  4590.       he must first Jump to DOS and manually delete the file.
  4591.  
  4592.     - X  =  Expert  mode toggle (0):  This allows Barney  to  condense  the
  4593.       Boyan-Host command menu into a 1-line list of  the  available command
  4594.       letters, or expand it back to its normal state.
  4595.  
  4596.     - Zip file contents (0):  Prompts Barney for the name of a .ZIP file in
  4597.       the Host Files directory; then uses PKUNZIP to display its contents.
  4598.  
  4599.    4.8.5  Local Sysop Menu
  4600.  
  4601.    At  any  time  during Host Mode operation, you may press <Tab> to invoke
  4602.    the Sysop Menu.  This menu changes depending on whether the Host Mode is
  4603.    offline (waiting for the phone to ring) or online (Barney is logged on).
  4604.    While offline, the Host offers a Sysop Menu with the following options:
  4605.  
  4606.  
  4607.  
  4608.    4.8.5:  BOYAN Command Capabilities                                    76
  4609.    ________________________________________________________________________
  4610.  
  4611.  
  4612.  
  4613.  
  4614.     - <Esc>:  Aborts the Host Mode!  To resume the Host Mode from the Sysop
  4615.       Menu, use the R command instead.
  4616.  
  4617.     - File Manager:  invokes the File Manager (see section  4.6.1)  in  the
  4618.       Host Message directory.
  4619.  
  4620.     - Host Configuration:  enters  Config  Area <A>, where you can edit the
  4621.       Host  User database, the number of rings  required  before  the  Host
  4622.       answers the phone, etc. (see section 3.10.3).
  4623.  
  4624.     - Jump to DOS:  type EXIT to return to the Host.
  4625.  
  4626.     - Parameters:  lets you view/modify  the  current  modem  parameters as
  4627.       described in section 4.2.3.
  4628.  
  4629.     - Resume  Host  Mode:   escapes from the Sysop Menu back to normal Host
  4630.       Mode operation.
  4631.  
  4632.     - Scroll-back Buffer:  invokes the buffer (see section 4.7.2).  This is
  4633.       useful for looking over what the last caller did while online.
  4634.  
  4635.     - Toggle 43/50-line mode:    If  you  have an EGA monitor, this command
  4636.       will  switch your screen display between 25 lines and 43 lines.  On a
  4637.       VGA monitor, the display will switch between 25 and 50 lines.
  4638.  
  4639.     - View HOST.USE usage log:  displays the Host usage log file, detailing
  4640.       all Host Mode callers and their activities.
  4641.  
  4642.     - W =  View  COMMENTS.HOS  comments  file:    displays the file of user
  4643.       comments to the operator.
  4644.  
  4645.    If a caller (say, Barney) is online when you press  <Tab>  to invoke the
  4646.    Sysop Menu, the menu will include the following additional commands:
  4647.  
  4648.     - Cycle Host:  immediately hangs up on Barney and prepares the Host for
  4649.       the next caller.
  4650.  
  4651.     - Gossip with Barney:   this  option  switches  you into BOYAN's split-
  4652.       screen  "Gossip"  Mode  and advises Barney to do the same.  To return
  4653.       Barney to the Host Command Menu, type <Tab>, R.
  4654.  
  4655.     - L  =  Change Barney's User Level:  press L, then select  a  new  user
  4656.       level for Barney (0, 1, or 2).    Barney's  entry  in  the  Host user
  4657.       database will instantly be updated to reflect Barney's new status.
  4658.  
  4659.  
  4660.  
  4661.    4.8.6:  BOYAN Command Capabilities                                    77
  4662.    ________________________________________________________________________
  4663.  
  4664.  
  4665.  
  4666.  
  4667.    4.8.6  Customizing HOST.BSC
  4668.  
  4669.    Using BOYAN's Macro Programming Language, you can customize every aspect
  4670.    of BOYAN's Host Mode in the  HOST.BSC  script file.  The following chart
  4671.    indicates how the script allocates BOYAN's User Variables:
  4672.  
  4673.        Set automatically by the HOST Action Module:
  4674.        %V2 = number of phone rings before answering
  4675.        %V3 = MODEM if connection is over a modem,
  4676.              DIRECT if connection is direct,
  4677.              LOCAL if we're doing a local host mode test.
  4678.        %V4 = The host messages directory (where messages are saved)
  4679.        %V5 = The host files directory (for user level 1 files)
  4680.  
  4681.        Other variables used by the script:
  4682.        %VC = commands available at this user level
  4683.        %VE = extra info about caller
  4684.        %VF = caller's first name
  4685.        %VI = caller's ID number (41..110)
  4686.        %VL = caller's user Level (0=new user, 1=regular, 2=sysop)
  4687.        %VN = caller's Name
  4688.        %VO = current host status, "in-use" or "waiting"
  4689.        %VP = caller's Password
  4690.        %VR = previous Action Module
  4691.        %VU = previous usage file name
  4692.        %VX = "Expert" user mode (ON or OFF)
  4693.  
  4694.    The script  uses  the  \TV  and \TM macro commands to edit the Host user
  4695.    database, which is stored as the Host Mode's "terminal keyset."  You may
  4696.    also  access and modify the database directly in  Config  Area  <A>,  as
  4697.    described in section 3.10.3.
  4698.  
  4699.    Here are some examples of how you might customize HOST.BSC:
  4700.  
  4701.     - To enable the host to provide a new external protocol on its protocol
  4702.       menu:  following the example of the other external protocols  such as
  4703.       Zmodem and Kermit, you must add two lines to the SetProtocol block of
  4704.       the HOST.BSC script.
  4705.  
  4706.     - To change the commands available at each user  level:    look  at the
  4707.       first  few  lines  of the MENU block.  Depending on  the  user  level
  4708.       (%VL),  the  variable  %VC is set to hold a list of available command
  4709.       letters.    Simply  add or delete letters from within the appropriate
  4710.       \SVC[..] command to change the power of that user level.
  4711.  
  4712.  
  4713.  
  4714.    4.9:  BOYAN Command Capabilities                                      78
  4715.    ________________________________________________________________________
  4716.  
  4717.  
  4718.  
  4719.  
  4720.    4.9  BOYAN's Backspace Editor
  4721.  
  4722.  
  4723.    Often,  when you are typing in a line of a message, you notice an  error
  4724.    you  made  at  the beginning of the line.  Correcting  this  with  other
  4725.    communication programs  involves backspacing all the way past the error,
  4726.    then retyping the entire line the  way  it  was.  Although you may still
  4727.    use  this  method if you like, BOYAN provides a much easier  way.    The
  4728.    following commands are effective whenever you are in terminal mode:
  4729.  
  4730.    4.9.1  <Backspace> Erase Previous Character
  4731.  
  4732.    As  usual,  the  <backspace>  key  erases the previous character on  the
  4733.    screen.  BOYAN automatically stores this character in memory.
  4734.  
  4735.    4.9.2  <LeftArrow> Forget Previous Character
  4736.  
  4737.    Pressing  the  <LeftArrow>  key while in  terminal  mode  also  sends  a
  4738.    backspace  signal over the modem.  However, BOYAN  does  not  store  the
  4739.    character in memory.
  4740.  
  4741.    4.9.3  <Ctrl-Backspace> Erase Previous Word
  4742.  
  4743.    To erase the previous word typed on the current line, at any time, press
  4744.    <Ctrl-Backspace>.  BOYAN  simply  sends backspace signals over the modem
  4745.    until it reaches a space.  The erased word is stored in BOYAN's memory.
  4746.  
  4747.    4.9.4  <Ctrl-LeftArrow> Forget Previous Word
  4748.  
  4749.    The <Ctrl-LeftArrow> command also sends  backspace  characters  to erase
  4750.    the previous word.  However, BOYAN does not store the word in memory.
  4751.  
  4752.    4.9.5  <RightArrow> Un-erase Character
  4753.  
  4754.    Press <RightArrow> to recall the most recent character stored in BOYAN's
  4755.    backspace  memory.    In  other  words, the <RightArrow> key undoes  the
  4756.    effect of the <Backspace> or <Ctrl-Backspace> commands.
  4757.  
  4758.    4.9.6  <Ctrl-RightArrow> Un-erase Word
  4759.  
  4760.    Press <Ctrl-RightArrow> to recall all  characters  in  BOYAN's backspace
  4761.    memory up to  a  space.    This  command  also  undoes the effect of the
  4762.    <BackSpace> and <Ctrl-Backspace> commands.
  4763.  
  4764.    4.9.7  Using the Backspace Editor
  4765.  
  4766.    Suppose you type the following line to the modem:
  4767.  
  4768.         I have used the BOYA Communications program _
  4769.  
  4770.  
  4771.  
  4772.    4.9.7:  BOYAN Command Capabilities                                    79
  4773.    ________________________________________________________________________
  4774.  
  4775.  
  4776.  
  4777.  
  4778.    (Your cursor is where the  _  is.)  You then realize that  you  left out
  4779.    the  N   in  BOYAN.    To  fix  it  with  the  Backspace Editor, use any
  4780.    combination of the <Backspace> and <Ctrl-Backspace> commands to position
  4781.    the cursor on the space where you want the   N  .    Press  N.  The line
  4782.    should read:
  4783.  
  4784.         I have used the BOYAN_
  4785.  
  4786.    Now use the <RightArrow>  and  <Ctrl-RightArrow>  commands to recall the
  4787.    erased part of the line.
  4788.  
  4789.    Suppose you wish to change the phrase "I have used" to "I use".  Use the
  4790.    <Ctrl-Backspace> and  <Backspace> commands to position the cursor to the
  4791.    right of the "d" in "used".  Then press the <LeftArrow> key to backspace
  4792.    over  the  "d".   The <LeftArrow> key backspaces without remembering the
  4793.    erased character.  Press <Ctrl-Backspace> to back past  the  word "use",
  4794.    then press <Ctrl-LeftArrow> to delete the word "have".  Finally, use the
  4795.    <RightArrow> and <Ctrl-RightArrow> commands to pull back the rest of the
  4796.    line:
  4797.  
  4798.         I use the BOYAN Communications program _
  4799.  
  4800.    Once  you get used to the Backspace Editor, you will find that you never
  4801.    post messages with typos again!
  4802.  
  4803.  
  4804.  
  4805.  
  4806.  
  4807.  
  4808.  
  4809.  
  4810.  
  4811.  
  4812.  
  4813.  
  4814.  
  4815.  
  4816.  
  4817.                                   Chapter 5
  4818.  
  4819.                      BOYAN Power--Macros and Script Files
  4820.  
  4821.  
  4822.    5.1  Overview
  4823.  
  4824.  
  4825.    A macro is a sequence of commands which instructs BOYAN to  perform some
  4826.    action.  Beneath the  "surface"  of BOYAN which you normally see, macros
  4827.    are responsible for a variety of tasks--for instance, dialing the modem,
  4828.    handling your  keyboard  commands,  and  maintaining  the  activity log.
  4829.    Because all these macros are user-programmable, you have a great deal of
  4830.    power  in  determining  what BOYAN does, and when and how  it  does  it.
  4831.    BOYAN's  Macro  Programming  Language is described in section 5.2.  Many
  4832.    useful sample macros are presented in section 5.3.
  4833.  
  4834.    To automate even the most  complex communication tasks, BOYAN allows you
  4835.    to link many macros together into text files called "scripts."  Although
  4836.    BOYAN  can create simple scripts automatically  with  the  Script  Learn
  4837.    facility (section 4.7.3), you  can  write much more powerful scripts.  A
  4838.    script file could take control of your computer at a  pre-assigned time,
  4839.    dial into a database, perform a search, and print the  results--all with
  4840.    nobody  at  the  keyboard.  BOYAN's Host Mode is written completely as a
  4841.    script file.   Still  another  application  for script files might be to
  4842.    create  a  customized  front-end  menu  interface  for  all  of  BOYAN's
  4843.    commands.  BOYAN scripts are explained in section 5.5.
  4844.  
  4845.  
  4846.    5.2  The Macro Programming Language
  4847.  
  4848.  
  4849.    Most macro/script commands  consist  of a backslash plus two characters;
  4850.    for  example,  \zs  is the command to "zap" (clear) the  screen.    Many
  4851.    commands also require further information enclosed  in  square brackets;
  4852.    for  example,  \di[730-2917]  is the command to dial the specified phone
  4853.    number.  A macro is a sequence  of  one  or  more  commands,  all strung
  4854.    together on a  line  of  text.    Thus the macro \zs \di[730-2917] would
  4855.    instruct BOYAN  to  first  clear  the  screen,  and then dial the modem.
  4856.    Spaces may be placed between  commands to make the macro easier to read.
  4857.  
  4858.  
  4859.  
  4860.    5.2:  BOYAN Power--Macros and Script Files                            81
  4861.    ________________________________________________________________________
  4862.  
  4863.  
  4864.  
  4865.  
  4866.    The Macro Programming Language also provides approximately 100 variables
  4867.    which can be  included  in  any  command.   Variables are specified by a
  4868.    percent  sign  plus  two  characters;  for example, %XP  represents  the
  4869.    current X-position of the cursor.  Wherever a BOYAN variable is found in
  4870.    a  macro, it is replaced by its current value.  (A variable may also  be
  4871.    specified  with  an  @-sign,  e.g.,  @XP  instead of %XP.  The technical
  4872.    difference between % and @ is explained in section 5.5.6.2.)
  4873.  
  4874.    The  next  several  sections explain the many variables and commands you
  4875.    can use to automate BOYAN.  The commands and variables have been divided
  4876.    into categories such as String  Output,  Dialing,  File  Transfers, User
  4877.    Variables, and Script-specific commands.    Note  that  there is also an
  4878.    alphabetical summary of all  macro  commands and variables at the end of
  4879.    this chapter.
  4880.  
  4881.    5.2.1  String Output
  4882.  
  4883.    Any macro can include a string of text like "password".    Such a string
  4884.    is sent directly over the modem.  Eight characters--the caret, quotation
  4885.    mark, backquote, tilde, left curly  brace,  percent  sign,  at-sign, and
  4886.    backslash--have  special meanings and are not  sent  directly  over  the
  4887.    modem  unless  they  are  preceded  by  a  quotation  mark.  The special
  4888.    meanings of these  characters  are  described  in  section  3.9.1.   The
  4889.    following example demonstrates some basic commands:
  4890.  
  4891.       ATZ{~```\$```WELCOME CLASS OF "`99{
  4892.  
  4893.    The example sends ATZ <Enter> to the modem, and then pauses for one-half
  4894.    second  (~).  The backquotes are for spacing  and  the  macro  processor
  4895.    ignores  them.    The  \$  command  causes  Shortcut  macro  #114 to  be
  4896.    processed.   Finally, the phrase WELCOME CLASS OF `99  is  sent  to  the
  4897.    modem,  where  the  quotation  mark  signifies that the  character  that
  4898.    follows, the backquote, should be sent over the modem, not  ignored like
  4899.    the other backquotes.
  4900.  
  4901.    5.2.2  How to Read the Macro Definitions
  4902.  
  4903.    In the command format descriptions, the following conventions are used:
  4904.  
  4905.    c                represents a single character, like  Y
  4906.  
  4907.    x, y, or z       represents an integer number, like  12.  Numbers may be
  4908.                     specified in hexadecimal if  they  are  preceded by a $
  4909.                     sign, like $1B.
  4910.  
  4911.    filename         represents  a full filename specifier, such as  FOO.ZIP
  4912.                     or C:\MODEM\FILES\BOYAN.DOC.
  4913.  
  4914.  
  4915.  
  4916.    5.2.2:  BOYAN Power--Macros and Script Files                          82
  4917.    ________________________________________________________________________
  4918.  
  4919.  
  4920.  
  4921.  
  4922.    string           represents a string of characters not  to  be processed
  4923.                     as a macro, like  WELCOME!
  4924.  
  4925.    macro            represents an executable macro, like  \DI[730-2917]
  4926.  
  4927.    5.2.2.1  Conditional Macro Syntax
  4928.  
  4929.    Conditional  macro  commands  allow your macros to make decisions.  With
  4930.    each conditional command, you enclose a macro in brackets which is to be
  4931.    executed  only  if the condition is met.    For  example,  the  \CA+[..]
  4932.    conditional macro tests whether there is a carrier signal.  The macro:
  4933.  
  4934.         \CA+[\ST[You are online.]]
  4935.  
  4936.    displays the Status message "You are online" only if there is a carrier.
  4937.    If there is no carrier, then the macro has no effect.
  4938.  
  4939.    If-then-else decisions may  be  programmed by placing the special string
  4940.    |ELSE inside the  enclosed  macro.    You  may abbreviate the |ELSE by a
  4941.    single vertical bar |.  The part of the macro beyond the |ELSE string is
  4942.    executed only if the condition was NOT met.  For example, the macro:
  4943.  
  4944.         \CA+[\ST[You are online.] |ELSE \ST[You are offline.]]
  4945.  
  4946.    displays "You are online" if the carrier signal is detected, or "You are
  4947.    offline" if no carrier is present.  The identical effect can be achieved
  4948.    using the complementary \CA-[..] macro:
  4949.  
  4950.         \CA-[\ST[You are offline.] |ELSE \ST[You are online.]]
  4951.  
  4952.                                *    *    *    *
  4953.  
  4954.    Each macro command and variable below is presented with  its  format  on
  4955.    the  left,  an example on the right,  and  a  mnemonic  and  description
  4956.    following.
  4957.  
  4958.    5.2.3  Modem Commands
  4959.  
  4960.    ^c                                                                    ^[
  4961.    Sends the specified control  character;  e.g., ^X sends a control-X;  ^[
  4962.    sends the <Escape> character.  Note that ^M, which sends a <Return>, can
  4963.    also be represented as { in a BOYAN macro.
  4964.  
  4965.    \CA+[macro]           \CA+[\DM[You have connected!]|\DM[No connection.]]
  4966.    \CA-[macro]                                                \CA-[ATS0=0{]
  4967.    CArrier?  The \CA+ command processes the enclosed macro  only  if  BOYAN
  4968.    detects carrier, that is, if the modem is currently connected.  The \CA-
  4969.    command processes its macro only if BOYAN does not detect carrier.
  4970.  
  4971.  
  4972.  
  4973.    5.2.3:  BOYAN Power--Macros and Script Files                          83
  4974.    ________________________________________________________________________
  4975.  
  4976.  
  4977.  
  4978.  
  4979.    \CH[x]                                                          \CH[127]
  4980.    CHaracter.   Sends the ASCII character with code  x  (0..255)  over  the
  4981.    modem.    For  example, ASCII 127  represents  the  "Del"  key  on  many
  4982.    terminals, so \CH[127]  would  simulate pressing "Del."  ASCII character
  4983.    27 is "Escape", so \CH[27] has the same effect as ^[.
  4984.  
  4985.    \CM
  4986.    Change Modem parameters.  This macro calls up  a  menu,  from  which the
  4987.    user can change the modem device, speed, or parity.
  4988.  
  4989.    \CD[x]                                                            \CD[2]
  4990.    %MD   %MA   %MN                                                2  3E8  4
  4991.    Change Device (serial port).  The \CD macro changes  the  current  modem
  4992.    device  to  port  1, 2, 3, or 4, and resets that port.  The %MD variable
  4993.    holds the number of the current Modem Device (1..4).  Variable %MA holds
  4994.    the memory address of the port in hexadecimal (without the $  sign), and
  4995.    %MN holds the IRQ Interrupt line used by the port (2, 3, 4, or 5).
  4996.  
  4997.    \CS[x]                                                            \CS[1]
  4998.    %MS   %MM                                                           1200
  4999.    Change  Speed.  This changes the current modem  speed  setting  to  300,
  5000.    1200, 2400, 4800, 9600, 19200, or 38400 baud depending on whether  x  is
  5001.    3, 1, 2, 4, 9, 0, or 8.  You may also  use  the full number if you wish,
  5002.    like \CS[19200].  %MS holds the current baud  rate,  and  %MM  holds the
  5003.    Maximum Modem speed as configured in Config Area <S>.
  5004.  
  5005.    \CP[c]                                                            \CP[E]
  5006.    %MP                                                                    E
  5007.    Change Parity.  This  changes  the current modem parity setting to None,
  5008.    Even,  or Odd depending on whether  c  is N, E, or O.   You may use  the
  5009.    full word if you wish, like    \CP[Even].   %MP stores the current Modem
  5010.    Parity--N, E, or O (not the full word).
  5011.  
  5012.    \DD+   \DD-   \DD*
  5013.    Drop  DTR.  \DD+ causes the DTR signal to be Dropped upon changing ports
  5014.    or exiting BOYAN,  in  effect  hanging  up  the modem.  \DD- makes BOYAN
  5015.    maintain the DTR signal when exiting.  \DD* toggles between the two.
  5016.  
  5017.    \DT+   \DT-   \DT*                                            \DT-~~\DT+
  5018.    DTR.   Use \DT+ to turn the Data Terminal Ready signal ON, \DT- to  turn
  5019.    DTR OFF, or \DT* to toggle its state.  Turning DTR  off  for  one second
  5020.    usually makes the modem hang up.
  5021.  
  5022.    \HU
  5023.    Hang Up.  This hangs up the modem by running BOYAN macro #4.
  5024.  
  5025.    \PL
  5026.    Purge Line.  This purges the data line of all incoming characters; i.e.,
  5027.    ignore all incoming characters until the receive buffer is empty.
  5028.  
  5029.  
  5030.  
  5031.    5.2.4:  BOYAN Power--Macros and Script Files                          84
  5032.    ________________________________________________________________________
  5033.  
  5034.  
  5035.  
  5036.  
  5037.    \SB
  5038.    Send Break.  This sends a modem break signal.
  5039.  
  5040.    5.2.4  Terminal Characteristics
  5041.  
  5042.    \AM[]
  5043.    \AM[c]                                                            \AM[G]
  5044.    Action  Module.   If the space between  the  brackets  is  empty,  BOYAN
  5045.    provides  a menu from which you can select a new Action Module.  If  you
  5046.    include a character between  the  brackets,  BOYAN  attempts to load the
  5047.    Action  Module corresponding to that character: [1]=VT-100,  [G]=GOSSIP,
  5048.    etc.
  5049.  
  5050.    %AM                                                                    G
  5051.    Action Module.  The  letter  or digit corresponding to the current BOYAN
  5052.    Action Module in use.
  5053.  
  5054.    %AN                                                               GOSSIP
  5055.    Action module Name.  The full name of the current BOYAN Action Module.
  5056.  
  5057.    %AP                                                                    1
  5058.    Action  module (Previous).  The letter or  digit  corresponding  to  the
  5059.    previous  BOYAN  Action  Module in use; that is, the module which was in
  5060.    use  before  the  current  one  was  selected.    For example, the macro
  5061.    \AM[%AP]  would  instruct  BOYAN  to  switch back to the previous action
  5062.    module.
  5063.  
  5064.    \B8+   \B8-   \B8*   %B8
  5065.    Bit 8.  The \B8 command controls whether  or  not  BOYAN  recognizes the
  5066.    eighth  (high)  bit  of incoming characters.  \B8+ makes BOYAN recognize
  5067.    the eighth  bit,  allowing  IBM  graphics  characters  to be seen.  \B8-
  5068.    causes BOYAN to strip the eighth bit, converting IBM graphics characters
  5069.    to their regular 7-bit  ASCII  equivalents.  \B8* toggles back and forth
  5070.    between  the  two  states.  The %B8 variable equals "ON" when the eighth
  5071.    bit is allowed, or "OFF" when the eighth bit is stripped.
  5072.  
  5073.    \BD+   \BD-   \BD*   %BD
  5074.    Backspace/Del swap.  Certain terminal  emulation BAMs such as VT-100 and
  5075.    IBM-3101 offer an option to swap  the  Backspace  and Del keys.  When in
  5076.    such  a  BAM,  you may use the \BD+ macro to  swap  the  keys,  \BD-  to
  5077.    "unswap" the keys, \BD* to toggle between \BD+  and  \BD-,  and  the %BD
  5078.    variable to reflect whether  BS  and Del are currently swapped ("ON") or
  5079.    normal ("OFF").
  5080.  
  5081.    \BU+   \BU-   \BU*   %BU
  5082.    BUffering.  You must have the National Semiconductor  16550AN  UART chip
  5083.    to use this command.  The 16550AN provides FIFO  buffering  of  received
  5084.    modem  text,  which  makes high-speed downloads reliable  even  under  a
  5085.    multitasking or network  environment.   The \BU+ command initializes the
  5086.  
  5087.  
  5088.  
  5089.    5.2.4:  BOYAN Power--Macros and Script Files                          85
  5090.    ________________________________________________________________________
  5091.  
  5092.  
  5093.  
  5094.  
  5095.    FIFO  buffer  to its maximum size of  14  bytes,  and  modifies  BOYAN's
  5096.    interrupt processing routine appropriately.  \BU-  disables  the buffer,
  5097.    and \BU* toggles.  Technical note:  when you shell to DOS or exit BOYAN,
  5098.    FIFO  buffering  is restored to the state it was in upon entering BOYAN.
  5099.  
  5100.    \CT+   \CT-   \CT*
  5101.    CTS/RTS.  Use \CT+ to turn  CTS/RTS  hardware  flow control ON,  \CT- to
  5102.    turn  CTS/RTS  flow control OFF, and \CT*  to  toggle  between  the  two
  5103.    settings.
  5104.  
  5105.    \EC+   \EC-   \EC*   %EC
  5106.    ECho.   \EC+  turns  local  echo ON, \EC- turns local echo OFF, and \EC*
  5107.    toggles  back and forth between the two.  The %EC variable can always be
  5108.    used to determine the current state  of  echo  mode:  %EC equals "ON" or
  5109.    "OFF".
  5110.  
  5111.    \LF+   \LF-   \LF*   %LF
  5112.    Line Feeds.  \LF+ turns add  line  feeds  mode ON, \LF- turns line feeds
  5113.    OFF, and \LF* toggles between the two.  %LF maintains the  current state
  5114.    of the toggle, "ON" or "OFF".
  5115.  
  5116.    \TT+   \TT-   \TT*   %TT
  5117.    Translation  Table.  \TT+ turns the table ON;  \TT- turns it OFF;   \TT*
  5118.    toggles it.   The  %TT  variable  reflects  whether the table is "ON" or
  5119.    "OFF".
  5120.  
  5121.    \XX+   \XX-   \XX*
  5122.    Xon/Xoff.   Use \XX+ to turn Xon/Xoff software flow control ON,  \XX- to
  5123.    turn Xon/Xoff control OFF, and \XX* to toggle between the two settings.
  5124.  
  5125.    5.2.5  Backspace Buffer
  5126.  
  5127.    \BC
  5128.    Back destructively over Character.  This command is identical to sending
  5129.    a backspace (^H), except  the  deleted character is not added to BOYAN's
  5130.    backspace buffer.
  5131.  
  5132.    \BW+   \BW-
  5133.    Back over Word.  This sends backspaces until a space  is  reached.  \BW+
  5134.    saves the erased word in the backspace buffer; \BW- does not.
  5135.  
  5136.    \FC
  5137.    Forward Character.  This  sends  the most recent character stored in the
  5138.    backspace buffer.
  5139.  
  5140.    \FW
  5141.    Forward Word.  This  sends  characters from the backspace buffer until a
  5142.    space is reached.
  5143.  
  5144.  
  5145.  
  5146.    5.2.6:  BOYAN Power--Macros and Script Files                          86
  5147.    ________________________________________________________________________
  5148.  
  5149.  
  5150.  
  5151.  
  5152.    5.2.6  Timing
  5153.  
  5154.    ~    (tilde)
  5155.    BOYAN pauses  for approximately 0.5 seconds whenever the tilde character
  5156.    is found in a macro.  For long pauses, \PA[x] is a better alternative.
  5157.  
  5158.    %HR   %MI   %SE                                             18   09   59
  5159.    HouR,  MInute,  SEcond.   These variables hold the current hour, minute,
  5160.    and second, respectively.  Each is exactly two digits long.  The hour is
  5161.    given in 24-hour notation:  i.e., at six o'clock PM,  %HR  equals 18; at
  5162.    midnight, %HR equals 00.
  5163.  
  5164.    %MO   %DA   %YR                                             09   03   92
  5165.    MOnth, DAy, YeaR.  Each of these variables is exactly two digits long.
  5166.  
  5167.    \PA[x]                                                           \PA[20]
  5168.    PAuse.  This makes BOYAN pause for x (1..32767) seconds.    See also the
  5169.    \AL macro  command,  which  sounds  an  alarm  for a specified number of
  5170.    seconds (section 5.2.10).
  5171.  
  5172.    \PU[##:##]                                                     \PU[2:30]
  5173.    Pause Until.   Make  BOYAN  pause  until  the specified time.  The above
  5174.    example would make BOYAN wait until 2:30 AM before continuing.   Use 24-
  5175.    hour notation to specify  times  after  noon;  e.g., \PU[14:30] to pause
  5176.    until 2:30 PM.  Note that midnight = 0:00.
  5177.  
  5178.    \SL[x]                                                            \SL[0]
  5179.    Set  Line pacing to x (0..255) milliseconds.  This is the amount of time
  5180.    BOYAN will pause after sending a Carriage Return  in  a  macro  or ASCII
  5181.    upload, in addition to the character pacing time.
  5182.  
  5183.    \SP[x]                                                           \SP[10]
  5184.    Set Pacing.  This sets character pacing to x (0..255)  milliseconds, the
  5185.    amount  of time BOYAN will pause between sending  each  character  in  a
  5186.    macro or ASCII upload.
  5187.  
  5188.    \UT##:##[macro]                              \UT`20:00[\DM[%HR:%MI:%SE]]
  5189.    Until Time.  Until the  specified time (24-hour format), this repeatedly
  5190.    executes the enclosed macro.  The above example would display  a running
  5191.    clock on the screen until 20:00 (8:00 PM).
  5192.  
  5193.    5.2.7  Handshaking
  5194.  
  5195.    \IF+string[macro]                       \IF+End of messages[\GB[LogOff]]
  5196.    \IF-string[macro]                  \IF-File not found[\DLk[twiddle.arc]]
  5197.    If Found?  The \IF+ command processes the  enclosed  macro  only  if the
  5198.    specified  string  is  found  on  the  current  screen  line or the line
  5199.    immediately above the cursor.  The \IF- command processes its macro only
  5200.    if the string is not on the current line or line above.  The matching is
  5201.  
  5202.  
  5203.  
  5204.    5.2.7:  BOYAN Power--Macros and Script Files                          87
  5205.    ________________________________________________________________________
  5206.  
  5207.  
  5208.  
  5209.  
  5210.    not case-sensitive.  Once a given string on the screen is matched, it is
  5211.    highlighted  and will not be matched again.  See the related \WF and \UN
  5212.    commands.
  5213.  
  5214.    \IW+[macro]                                \IW+[\DM[Log-on successful!]]
  5215.    \IW-[macro]                      \IW-[\DM[Log-on interrupted.]\GB[quit]]
  5216.    If  Waitfor  successful?   The \IW+ command processes the enclosed macro
  5217.    only If the last WaitFor, UNtil, or IF command was successful.  The \IW-
  5218.    command processes the enclosed macro only if the last such command timed
  5219.    out before successfully making a match.
  5220.  
  5221.    \TO[x]                                                           \TO[40]
  5222.    TimeOut.   Set the handshake timeout to x (0..255) seconds.  This is the
  5223.    amount of time BOYAN waits before "giving up" trying to  match  a \WF or
  5224.    \WL  command.  If x is 255, then it means "indefinitely":  \TO[255] sets
  5225.    an indefinite timeout, and BOYAN will never give up waiting for a match!
  5226.  
  5227.    \UNstring[macro]                                     \UN`End of file[^K]
  5228.    UNtil.   This repeatedly executes the macro  enclosed  in  the  brackets
  5229.    until the specified string arrives from the modem.   The  above  example
  5230.    sends a continuous stream of control-K characters until  BOYAN  sees the
  5231.    "End of file"  message.
  5232.  
  5233.    \WF[]                                                              \WF[]
  5234.    \WF[string]                           \WF[Enter your name:]John Johnson{
  5235.    Wait For the specified string to arrive from the modem.    If 30 seconds
  5236.    (or  whatever value you configure or set with the  \TO  command) elapses
  5237.    before the string appears, the macro times out and will continue  to the
  5238.    next command.  The string is  not  case-sensitive,  so  NAME  will match
  5239.    NaMe .   If  the  brackets  are  empty,  BOYAN  will simply wait for any
  5240.    character.  While  BOYAN  is  waiting,  if you press <space>, BOYAN will
  5241.    assume the matching was unsuccessful and continue to  the  next command.
  5242.    (Pressing <Esc> always aborts the entire macro/script.)  You can use the
  5243.    \IW  command to test for the success  of  the  waitfor  (section 5.2.7).
  5244.    See also the \UN (until) and \IF (if found) commands.
  5245.  
  5246.    \WL                                                                  \WL
  5247.    Wait for a new Line (carriage return) from the modem.
  5248.  
  5249.    \WP[x]                                                           \WP[2]{
  5250.    Wait  for Pause.  This command instructs BOYAN to Wait for a Pause of  x
  5251.    seconds in the remote  system's  input.  Suppose you execute the command
  5252.    \WP[2].  As long as input continues to flow in from the modem, the macro
  5253.    will  simply  wait.    However,  when  there is a pause in the  flow  of
  5254.    input--in this case, two seconds during which nothing  new  arrives from
  5255.    the modem--the \WP[2] command will  finish, and the macro processor will
  5256.    continue on to the next command.  In effect, \WP[2] makes BOYAN wait for
  5257.    the next prompt for input!  See the TCOMM.BSC script for details.
  5258.  
  5259.  
  5260.  
  5261.    5.2.8:  BOYAN Power--Macros and Script Files                          88
  5262.    ________________________________________________________________________
  5263.  
  5264.  
  5265.  
  5266.  
  5267.    5.2.8  Dialing
  5268.  
  5269.    \AD+   \AD-   \AD*
  5270.    Auto-Detect.  Use \AD+ to turn auto-detection of the modem connect speed
  5271.    ON,  \AD- to turn Auto-Detection  OFF,  and   \AD* to toggle between the
  5272.    two.  This feature is explained in section 3.8.
  5273.  
  5274.    \CC+   \CC-   \CC*
  5275.    Carrier Checking.  \CC+ enables BOYAN's carrier checking before dialing.
  5276.    With carrier checking enabled,  BOYAN  will prompt you to verify that it
  5277.    is "OK  to  dial  despite  carrier" if you try to dial while already on-
  5278.    line.  \CC- disables carrier checking; \CC* toggles.
  5279.  
  5280.    \CO[x]                                                           \CO[60]
  5281.    COnnect timeout.  Set the COnnect wait time to x seconds (0..99).  After
  5282.    dialing with <Alt-D>, BOYAN will assume that no connection has been made
  5283.    if the modem fails to respond within this amount of time.
  5284.  
  5285.    \DI[]                                                              \DI[]
  5286.    \DI[x]                                                           \DI[12]
  5287.    \DI[string]                                              \DI[Compuserve]
  5288.    \DI[###-####]                                              \DI[381-6441]
  5289.    DIal.    If the brackets are empty,  \DI[]  simply  enters  the  dialing
  5290.    directory.  If a number from  1-200  is enclosed, this command dials the
  5291.    system  with  the  specified  dialing  directory  code;  if you  make  a
  5292.    connection, the appropriate automatic logon script will also be run (see
  5293.    section 5.5.2).  If a string is enclosed, BOYAN will search your dialing
  5294.    directory for an  entry  whose  name  contains that string, and dial the
  5295.    first such entry it finds.    (This  may  be  preferable  to  giving the
  5296.    precise  code  number,  since  the  code  may  change  if  you sort  the
  5297.    directory.)  Finally, if  the  string does not match any directory entry
  5298.    name, BOYAN attempts to manually dial the enclosed string.
  5299.  
  5300.    %F:                                                        C:\BOYAN\FON\
  5301.    Fon  path.   This variable stores the name of the path  in  which  BOYAN
  5302.    expects to find all its FON directories.  To reconfigure this  path, see
  5303.    section 3.6.
  5304.  
  5305.    \FD[filename]                                           \FD[CHICAGO.FON]
  5306.    %FD                                                          CHICAGO.FON
  5307.    Fon  Directory.   The \FD macro command  loads  the  specified  new  Fon
  5308.    Directory.  The filename suffix of  .FON  is  optional.  If the file you
  5309.    specify is not a valid BOYAN directory, the previous .FON directory will
  5310.    be  reloaded.  The name of the current FON directory is always stored in
  5311.    the %FD variable.
  5312.  
  5313.  
  5314.  
  5315.    5.2.8:  BOYAN Power--Macros and Script Files                          89
  5316.    ________________________________________________________________________
  5317.  
  5318.  
  5319.  
  5320.  
  5321.    \IS+x,y,..,z[macro]              \IS+1,6,114,0,3,30[password1|password2]
  5322.    \IS-x,y,..,z[macro]                      \IS-0[\DM[Phone number = %SF.]]
  5323.    Is  System?    The \IS+ command processes the enclosed macro only If the
  5324.    directory  code of the System you last dialed is on the list of numbers.
  5325.    The \IS- command processes its macro when the last-dialed system  is not
  5326.    on the code list.   The  codes  run  from  1-200  for  dialing directory
  5327.    entries, and 0 for manual dialing.  This command is convenient when, for
  5328.    example, you use different passwords on otherwise-identical systems, and
  5329.    need to select a password based on which system you connected to.
  5330.  
  5331.    %PW                                                               ibm-pc
  5332.    %S#                                                                   12
  5333.    %SF                                                       1-301-854-3076
  5334.    %SN                                                    BOYAN Support BBS
  5335.    %SS                                                              PCBOARD
  5336.    %SL                                                              0:15:30
  5337.    System information.   These  six variables contain information about the
  5338.    system  which  is  currently online.  If you are online  with  a  system
  5339.    dialed from the dialing directory:  %PW equals its password;  %S# equals
  5340.    its code number  (1-200);  %SF  equals  its phone number; %SN equals its
  5341.    Name; %SS equals the name of its logon  script  file  (without  the .BSC
  5342.    suffix);  and %SL is the total elapsed time  since  the  connection  was
  5343.    made.  These values can be used in Auto-macros #6  and  #7, for example,
  5344.    to update the BOYAN.USE activity log.  When you are offline,  %PW equals
  5345.    the default value set in Config  Area  <S>;  %S# equals 0, the %SL clock
  5346.    keeps running, and the other variables are blank.
  5347.  
  5348.    5.2.9  Queue Redialing
  5349.  
  5350.    \QA[x]                                                           \QA[12]
  5351.    \QA[###-####]                                              \QA[381-6441]
  5352.    \QA[string]                                           \QA[Boyan Support]
  5353.    \QA+[string]                                         \QA+[Boyan Support]
  5354.    Queue Add.  If a number  from  1-200  is enclosed, this command adds the
  5355.    system with the specified dialing directory code to the redialing queue.
  5356.    Otherwise, BOYAN searches the dialing  directory for an entry whose name
  5357.    contains string, and adds that entry to the  Queue.    If  a + is placed
  5358.    before the left bracket, then all matching entries will be added  to the
  5359.    queue; with no +, only the first matching entry is added.  If the string
  5360.    in brackets  is  not  an  entry name but a phone number, then BOYAN will
  5361.    simply add that number to the queue.
  5362.  
  5363.    \QA-[x]                                                         \QA-[12]
  5364.    \QA-[string]                                                   \QA-[%SN]
  5365.    Queue  Subtract.   If a number from  1-200  is  enclosed,  this  command
  5366.    deletes  the entry with that code number from the redialing queue.  If a
  5367.    string is enclosed,  then  all  queue  entries  whose  names  are "close
  5368.    enough" to that string are removed  from  the  queue.  To BOYAN, a queue
  5369.    name is  "close  enough"  to  the  specified  string if that string, not
  5370.  
  5371.  
  5372.  
  5373.    5.2.9:  BOYAN Power--Macros and Script Files                          90
  5374.    ________________________________________________________________________
  5375.  
  5376.  
  5377.  
  5378.  
  5379.    including its last character,  is  contained as a substring of the queue
  5380.    name.  For example,  the  command \QA-[BOYAN Support Line 2] will delete
  5381.    queue entries named BOYAN  Support  Line 1  and  BOYAN Support Line 3 as
  5382.    well  as BOYAN Support Line 2.  If you insert the command \QA-[%SN] into
  5383.    Auto-macro  #6, then after connecting to a  system,  all  other  systems
  5384.    whose  names  are  "close enough" will automatically be deleted from the
  5385.    queue.
  5386.  
  5387.    \QC
  5388.    Queue Clear.  Clear the queue of all entries.
  5389.  
  5390.    \QD
  5391.    Queue Dial.  This makes BOYAN  repeatedly  dial the numbers in the queue
  5392.    until a connection is made.  When BOYAN connects, it removes that number
  5393.    from the queue and rings the connect alarm.  If the connected system has
  5394.    a logon script specified  in  its  Dialing  Directory entry, BOYAN stops
  5395.    ringing the alarm after the "Script Keyboard Timeout"  has  expired, and
  5396.    runs the script's LOGON block as described in  section  5.5.2.    If the
  5397.    queue is empty, this command does nothing.
  5398.  
  5399.    \QE
  5400.    Queue Enter.  The \QE command causes BOYAN to enter the  redialing queue
  5401.    and wait for user key commands.
  5402.  
  5403.    %QS                                                 \IE+%QS,0[\EX | \QD]
  5404.    Queue Size.  The number of  entries  in  the Queue (0..20).  The example
  5405.    macro  will  exit  BOYAN if the queue is empty, or begin queue redialing
  5406.    otherwise.
  5407.  
  5408.    \QU[##:##]                                                     \QU[6:15]
  5409.    Queue Until.  This command is identical to the \QD command,  except that
  5410.    redialing will stop at the specified time if no connection has been made
  5411.    yet.  Use 24-hour notation, e.g., \QU[23] to redial until 11:00 pm.  See
  5412.    section  5.3.2  for an example of how to use this command  in  an  Auto-
  5413.    macro.
  5414.  
  5415.    5.2.10  Screen & Sound
  5416.  
  5417.    \ALx[y]                                                          \AL1[5]
  5418.    \ALx[0]                                                          \AL3[0]
  5419.    \ALx[]                                                            \AL2[]
  5420.    ALarm.  BOYAN provides three alarms: alarm #1 is a constant  tone; alarm
  5421.    #2 is a two-tone "ringing"; and  alarm  #3  is a descending squawk.  The
  5422.    pitch of the alarm is controlled by the alarm  volume  setting  (below).
  5423.    The \ALx command rings alarm # x (1, 2, or 3).  The number y (0..255) in
  5424.    brackets determines the  length of the alarm in seconds.  If y is 0, the
  5425.    alarm tone sounds just once, and stops.  If the brackets are left empty,
  5426.    then the alarm will ring continuously until the user presses a key.
  5427.  
  5428.  
  5429.  
  5430.    5.2.10:  BOYAN Power--Macros and Script Files                         91
  5431.    ________________________________________________________________________
  5432.  
  5433.  
  5434.  
  5435.  
  5436.    \AV[x]                                                            \AV[4]
  5437.    Alarm  Volume.   Change the alarm volume from 1 to 10,  or  silence  all
  5438.    alarms with 0.
  5439.  
  5440.    \BB+   \BB-   \BB*   %BB                                      \AV[0]\BB-
  5441.    Beeps  &  Bells.   \BB+ turns Beeps & Bells mode ON;  \BB- turns it OFF;
  5442.    and  \BB*  toggles between the two states.  The %BB variable equals "ON"
  5443.    or  "OFF"  as  appropriate.    The  example  macro above can be used  to
  5444.    completely silence all BOYAN sound effects.
  5445.  
  5446.    \DMC[x]                                                        \DMC[240]
  5447.    %DM                                                                  240
  5448.    Display Message Color.    Set  the  Display Message Color to x (1..255).
  5449.    This  color  will  be  used  for messages displayed with subsequent  \DM
  5450.    commands.  Note that numbers greater than 128 are flashing; for example,
  5451.    select  color  240  for flashing black on white.  The %DM variable holds
  5452.    the Display Message color.
  5453.  
  5454.    \DM[string]                                     \DM[You have connected!]
  5455.    \DMx,y[string]                                 \DM40,10[Menu of Options]
  5456.    \DMy[string]                         \DM1[This message is in color %DM.]
  5457.    \DMx,[string]                           \DM30,[The time is now %HR:%MI.]
  5458.    Display Message.  The \DM command  is  used  to display a message on the
  5459.    screen.  The string will  be  displayed  at  column  x  (1..80),  line y
  5460.    (1..24).   If  either  x  or y is omitted before the string in brackets,
  5461.    then BOYAN substitutes default  values.   If x is omitted, BOYAN flushes
  5462.    the string to the right  of the screen.  If y is omitted, BOYAN uses the
  5463.    line above the  current  cursor  position.   In the examples above, "You
  5464.    have connected" is flushed right on the line above the cursor;  "Menu of
  5465.    Options" is at column 40, row 10;   "This  message  is  in color ###" is
  5466.    flushed right on line 1;  and "The time is now ##:##" is at column 30 on
  5467.    the line above  the cursor.  \DM can be used in conjunction with the \KV
  5468.    command to make user menus, for example (see section 5.2.14).
  5469.  
  5470.    \GL+   \GL-   \GL*   %GL
  5471.    Grab screen  Lines  (EGA/VGA  monitors  only).    \GL+ loads the 8x8 ROM
  5472.    screen font, causing an EGA adapter to display 43 lines of text or a VGA
  5473.    adapter  to  display  50 lines of text.  \GL- restores a 25-line screen.
  5474.    \GL* toggles between \GL+ and \GL-.    The variable %GL always holds the
  5475.    current number of lines displayed (25, 43, or 50).
  5476.  
  5477.    \GX[x]                                                           \GX[40]
  5478.    Goto  X-position.    This moves the cursor horizontally to the specified
  5479.    column (1..80).
  5480.  
  5481.    \GY[y]                                                           \GY[20]
  5482.    Goto Y-position.  This moves the cursor vertically to the  specified row
  5483.    (1..24).
  5484.  
  5485.  
  5486.  
  5487.    5.2.10:  BOYAN Power--Macros and Script Files                         92
  5488.    ________________________________________________________________________
  5489.  
  5490.  
  5491.  
  5492.  
  5493.    \KS   \RS
  5494.    Keep  Screen,  Restore  Screen.    These commands are useful for  making
  5495.    user-defined "pop-up" menus.  \KS does several things:  it saves  a copy
  5496.    of  the  top 24 lines of the screen into memory; it  saves  the  current
  5497.    cursor position; and it  temporarily  inhibits  all  I/O from the modem.
  5498.    After  \KS,  you  could  clear  the  screen  (with  \ZS) or display menu
  5499.    messages (with \DM).  When you  want  to Restore the Screen contents and
  5500.    cursor  position,  use  the \RS macro.  Note:  BOYAN restores the screen
  5501.    automatically, even without \RS, if either 1) you invoke a command which
  5502.    needs to save the  screen  (e.g., Dialing Directory or a file transfer),
  5503.    or 2) you abort the macro/script by pressing <Esc>.
  5504.  
  5505.    \MC[x]                                                          \MC[112]
  5506.    %MC                                                                  112
  5507.    Menu Color.  \MC[x] sets the Menu and help screen  Color  to x (1..127).
  5508.    The %MC variable holds the current Menu Color in use.
  5509.  
  5510.    \NC[x]                                                            \NC[7]
  5511.    %NC                                                                    7
  5512.    Normal Color.  \NC[x] sets the Normal text Color to x (1..127).  The %NC
  5513.    variable holds the current Normal text Color in use.
  5514.  
  5515.    \RC
  5516.    Restore Color.  This command Restores the default normal text Color.
  5517.  
  5518.    \RX[x]                                                          \RX[-10]
  5519.    Relative  X-position.    This  moves  the  cursor  horizontally  by  the
  5520.    specified number  of  spaces,  backward  (negative  numbers)  or forward
  5521.    (positive numbers).  The cursor will not go  beyond  either  end  of the
  5522.    line.
  5523.  
  5524.    \RY[y]                                                            \RY[5]
  5525.    Relative Y-position.  This moves  the cursor vertically by the specified
  5526.    number of lines, up (negative numbers) or down (positive numbers).   The
  5527.    cursor will not go beyond either end of the screen.
  5528.  
  5529.    \SN[string]                                                     \SN[%SN]
  5530.    System Name status.  This displays the string on the  right  side of the
  5531.    status line, where the current System Name is normally displayed.
  5532.  
  5533.    \ST[string]                              \ST[Beeps & Bells are now %BB.]
  5534.    STatus.  This displays the string on the left side  of  the status line.
  5535.    This sample  macro  displays  the  current  status  of the Beeps & Bells
  5536.    toggle.
  5537.  
  5538.    %XP   %YP
  5539.    X-Position,  Y-Position.    These  variables  equal  the  current column
  5540.    (1..80) and row (1..24) of the cursor, respectively.
  5541.  
  5542.  
  5543.  
  5544.    5.2.11:  BOYAN Power--Macros and Script Files                         93
  5545.    ________________________________________________________________________
  5546.  
  5547.  
  5548.  
  5549.  
  5550.    \ZS
  5551.    "Zaps" (clears) the Screen.
  5552.  
  5553.    5.2.11  Session Logging & Printing
  5554.  
  5555.    \LD+   \LD-   \LD*   %LD   %LN       \LD*\ST[Logging to %LN is now %LD.]
  5556.    \LD+[filename]                                  \LD+[C:\%MO-%DA-%YR.LOG]
  5557.    Log to Disk.    \LD+ opens a log file.  If no filename is specified, the
  5558.    default (or most recently-used log file) is used.  Opening the  log file
  5559.    runs  Auto-macro  #14,  which inserts a header with the date and time in
  5560.    the  file.    While  the  log  file is open, all text appearing  on  the
  5561.    communication screen is saved to the file.   \LD-  closes  the  open log
  5562.    file;   \LD* toggles logging ON and OFF.  The %LD variable maintains the
  5563.    status of the log file as "ON" or "OFF".  %LN holds the full name of the
  5564.    last log file opened, or the  default  BOYAN.LOG if none has been opened
  5565.    yet.  In the second example above, the date variables are used to open a
  5566.    log file with the date in the filename; for example, on November fourth,
  5567.    the filename used would be C:\11-04-91.LOG.
  5568.  
  5569.    \LM[string]                                  \LM[== Connected to %SN ==]
  5570.    Log Message.  This inserts  a  message  in  the  log file if the file is
  5571.    open.  If you include the example macro above in your Connect Auto-macro
  5572.    #6, then whenever you connect to a system while the log  file  is  on, a
  5573.    line with that system's name will be added to the log.
  5574.  
  5575.    \PM[string]                    \PM[== Connected to system number %S# ==]
  5576.    Print  Message.    This command prints  the  specified  string  on  your
  5577.    printer.   You can use this command to  set  up  printer  initialization
  5578.    codes; for example, \PM[^X^[g] sends <Ctrl-X>,<Escape>,<g>.
  5579.  
  5580.    \PP[x]                                                            \PP[2]
  5581.    Printer Port.  Select a new device (1, 2, 3, or  4)  for  all subsequent
  5582.    printing.
  5583.  
  5584.    \PR+   \PR-   \PR*   %PR
  5585.    PRinter.  \PR+ turns printer log mode on.    If  used  in a script file,
  5586.    printer  logging  starts  immediately;  otherwise, BOYAN's printer setup
  5587.    menu is displayed.  All text appearing on the  communication  screen  is
  5588.    printed until  printer  logging  is  turned  off  by \PR-.  \PR* toggles
  5589.    printer logging; %PR equals "ON" or "OFF" as appropriate.
  5590.  
  5591.    \PS
  5592.    Print Screen.  This is identical to keying <Shift-PrtSc> by hand.
  5593.  
  5594.    \SS   %DN
  5595.    Save Screen to disk.  This command saves the current screen to the BOYAN
  5596.    screen dump  file  (see  section  3.6).  The Dump file Name is stored in
  5597.    variable %DN.
  5598.  
  5599.  
  5600.  
  5601.    5.2.11:  BOYAN Power--Macros and Script Files                         94
  5602.    ________________________________________________________________________
  5603.  
  5604.  
  5605.  
  5606.  
  5607.    \UF+   \UF-   \UF*   %UF                    \UF*\ST[Usage file now %UF.]
  5608.    \UF+[filename]   %UN                                  \UF+[LONGDIST.USE]
  5609.    Usage File.    \UF+  and  \UF- turn the BOYAN.USE usage file on and off,
  5610.    respectively.  If a filename is specified after the \UF+  command, BOYAN
  5611.    will use that filename for the usage file.  \UF* toggles the usage file,
  5612.    and the %UF variable holds its current status, "ON" or "OFF".  %UN holds
  5613.    the full Name of the current Usage file.
  5614.  
  5615.    \UM[string]                             \UM[Current DOS directory = %C:]
  5616.    Usage Message.    This  command  enters a line into the usage file.  The
  5617.    date and time are  automatically  appended to the beginning of the line,
  5618.    in whatever format  you specify (see section 3.6).  To add a line to the
  5619.    usage file without  the  date/time prefix, use the command \AF%UN[..your
  5620.    msg  here..] instead.  If the Usage File is OFF, the \UM command has  no
  5621.    effect.  The example above would add a line to the end of the usage file
  5622.    showing the current DOS path.
  5623.  
  5624.    5.2.12  DOS
  5625.  
  5626.    \AFfilename[string]      \AF`LETTER.TXT[This file is dated %MO/%DA/%YR.]
  5627.    Append to text File.  This very powerful command allows scripts to build
  5628.    custom  text files.  The string is appended to the end of the text  file
  5629.    specified by filename.  If that  file  does not exist, BOYAN creates it.
  5630.    The Host Mode script uses this command to create a  message  file as the
  5631.    message is being typed.  See  also  the  \GV command (for reading from a
  5632.    text file).
  5633.  
  5634.    %B:                                                            D:\BOYAN\
  5635.    BOYAN path.  This variable holds the BOYAN home directory's drive+path.
  5636.  
  5637.    %C:                                                                  A:\
  5638.    Current  path.    This  variable  holds  the  current  disk  directory's
  5639.    drive+path.
  5640.  
  5641.    \CF+   \CF-   \CF*
  5642.    Check Free.   \CF+  tells  BOYAN  to automatically check free disk space
  5643.    before each download and within the directory file manager.   \CF- means
  5644.    you must manually press <Alt-F> in  the  download  menu or F in the file
  5645.    manager to see remaining disk space.  \CF* toggles.
  5646.  
  5647.    \DC[string]                                      \DC[pkunzip -v boyan5a]
  5648.    \DC-[string]                                             \DC-[dir >prn:]
  5649.    \DC+[string]                                              \DC+[type %DN]
  5650.    DOS  Command.    BOYAN  invokes  the  COMMAND.COM  processor to  execute
  5651.    [string]  as  a DOS command.  If you use the \DC-  command,  BOYAN  will
  5652.    continue immediately after the  DOS  command  finishes.   With \DC+, you
  5653.    will  be  prompted  for a keypress before returning to BOYAN.  The plain
  5654.    \DC command (with no minus) usually prompts for a keypress, but does not
  5655.    if there is a script file running.
  5656.  
  5657.  
  5658.  
  5659.    5.2.12:  BOYAN Power--Macros and Script Files                         95
  5660.    ________________________________________________________________________
  5661.  
  5662.  
  5663.  
  5664.  
  5665.    %DR                                                                    A
  5666.    DRive.  This variable holds the currently-logged disk drive letter.
  5667.  
  5668.    %DS                                                                  125
  5669.    DOS Shell  space.    This  variable  equals  the amount of memory (in K)
  5670.    available  for  DOS  Shells.    If  %DS equals 0, then the \JD  and  \DC
  5671.    commands cannot function.
  5672.  
  5673.    \FE+filename[macro]           \FE+c:\files\twiddle.arc[\UL[twiddle.arc]]
  5674.    \FE-filename[macro]              \FE-boyan5a.zip[\DC[pkzip boyan5a *.*]]
  5675.    File Exists?   With  the  \FE+  command, the enclosed macro is processed
  5676.    only if the specified file  exists  on  your  disk.    The  \FE- command
  5677.    processes the enclosed macro only if the specified file does not already
  5678.    exist.
  5679.  
  5680.    \FM[filespec]                                              \FM[c:\util\]
  5681.    \FMc[filespec]                                                    \FMU[]
  5682.    \FMstring[filespec]                             \FM`pkunzip -v[%D:*.ZIP]
  5683.    The File Manager.  Within the brackets, specify the path and/or wildcard
  5684.    pattern of files to display, or leave the brackets empty to  display all
  5685.    files  in the current directory.  There are also two ways to specify the
  5686.    File Manager "default command", which is the the  command  selected when
  5687.    you press <Enter> or double-click the mouse on a filename:
  5688.  
  5689.       1.  Between \FM and [filespec], include a single letter (any of C D E
  5690.           F  I  L  M R S U V W).  The File Manager command corresponding to
  5691.           that letter will become the default command.  For example, \FMU[]
  5692.           invokes the File Manager in  the current directory with Upload as
  5693.           the default command.
  5694.  
  5695.       2.  Between \FM and [filespec],  include  a  DOS  command two or more
  5696.           characters long.  The File  Manager default will then invoke that
  5697.           DOS command, giving it the name(s) of the selected file(s) as its
  5698.           argument.    The  "pkunzip  -v"  example above invokes  the  File
  5699.           Manager  on  all  *.ZIP files in your Download directory; to view
  5700.           the contents of a .ZIP file, you would simply highlight that file
  5701.           and press <Enter>.
  5702.  
  5703.    \FS[c]                                                          \FS[%DR]
  5704.    Free Space.  This displays a status message showing the number  of bytes
  5705.    of free space on the specified disk drive.
  5706.  
  5707.    \JD                                                            \AT+[\JD]
  5708.    Jump to DOS.    You must type EXIT <Enter>  to return to BOYAN from DOS,
  5709.    so be sure this command is not processed when BOYAN is unattended.
  5710.  
  5711.  
  5712.  
  5713.    5.2.12:  BOYAN Power--Macros and Script Files                         96
  5714.    ________________________________________________________________________
  5715.  
  5716.  
  5717.  
  5718.  
  5719.    %LC                                                                 TYPE
  5720.    List Command.  This  variable  holds the DOS command you have configured
  5721.    for  viewing a file.  For example, to view the BOYAN.USE file, you would
  5722.    run the \DC[%LC boyan.use] macro.
  5723.  
  5724.    \ND[string]                                             \ND[b:\download]
  5725.    New Directory.  This command selects a new default disk drive or path.
  5726.  
  5727.    %S:                                                     D:\BOYAN\SCRIPT\
  5728.    Script path.  This variable holds BOYAN's script file disk drive+path.
  5729.  
  5730.    %SC                                                             HOST.BSC
  5731.    SCript.  This variable holds the name of the current script file running
  5732.    (or the last script file run, if none is active).
  5733.  
  5734.    %WC                                                                EDLIN
  5735.    Word processor Command.  This variable holds the DOS  command  you  have
  5736.    configured for editing a file.
  5737.  
  5738.    5.2.13  File Transfers
  5739.  
  5740.    \AU+   \AU-   \AU*   %AU           \AU* \ST[Auto-downloading is now %AU]
  5741.    AUto-downloading.  \AU+ enables  auto-downloading,  \AU-  disables, \AU*
  5742.    toggles between the two.  %AU maintains the current state of the toggle,
  5743.    "ON" or "OFF".
  5744.  
  5745.    %D:                                                         C:\MODEM\DL\
  5746.    %U:                                                                  B:\
  5747.    Download  path,  Upload path.  These variables  hold  the  name  of  the
  5748.    default download and upload directories, respectively.
  5749.  
  5750.    \DLc-[filename]                                    \DLY-[c:\twiddle.zip]
  5751.    DownLoad.  The  \DL  command  offers  three parameters, all of which are
  5752.    optional:
  5753.  
  5754.       1.  The first parameter is a  letter or digit specifying the protocol
  5755.           to  use for the download.  The letter should be the same one used
  5756.           in the protocol menu,  e.g.,  X=Xmodem, K=Kermit, etc.  If you do
  5757.           not specify  a protocol letter, the current default protocol will
  5758.           be used.  Example: \DLY[] would invoke the  Download  Window with
  5759.           Ymodem as the default protocol selection.
  5760.  
  5761.       2.  The second parameter is an optional - minus sign.  If you include
  5762.           the minus sign, then BOYAN  will bypass its Download Window where
  5763.           you confirm the  protocol,  path, and filename; the download will
  5764.           begin immediately.  Example:    \DL-[]  is used in Auto-macro #12
  5765.           so that auto-downloads start without any keypresses on your part.
  5766.  
  5767.  
  5768.  
  5769.    5.2.13:  BOYAN Power--Macros and Script Files                         97
  5770.    ________________________________________________________________________
  5771.  
  5772.  
  5773.  
  5774.  
  5775.       3.  The  third  parameter,  enclosed in brackets, is the full name of
  5776.           the file to download.  You may also specify a  path  only (but no
  5777.           filename), or leave the brackets empty.  If you do not  specify a
  5778.           filename, BOYAN will use its automatic  filename-find  feature to
  5779.           determine the  name.    (Some  external  protocols  determine the
  5780.           filename automatically,  in which case you may leave the brackets
  5781.           empty.)    If you do not specify  a  filename  and  BOYAN  cannot
  5782.           determine  the name from the screen, BOYAN  will  name  the  file
  5783.           FILE####.BDL, where #### is  the  time  of  day when the download
  5784.           started.    Examples:    \DL-[twiddle.zip] will immediately begin
  5785.           downloading twiddle.zip  into  your  default  Download directory.
  5786.           \DL[%S:] will direct  a  download to your BOYAN script directory,
  5787.           prompting you for the filename.
  5788.  
  5789.    \DP[c]                                                            \DP[K]
  5790.    %DP                                                                    K
  5791.    Default Protocol.  This sets the default file transfer  protocol.    Put
  5792.    the  first  letter  of the protocol (A, C, K, X,  Y,  Z,  etc.)  in  the
  5793.    brackets.  The current  default  protocol's  letter  is always stored in
  5794.    variable %DP.
  5795.  
  5796.    \IP+c[macro]                                      \IP+K[\DLK[] | \DLX[]]
  5797.    \IP-c[macro]                           \IP-Z[\DM[Zmodem not installed.]]
  5798.    If  Protocol  available?   The \IP+ command processes the enclosed macro
  5799.    only If the Protocol specified by the character  c  is  available.   The
  5800.    first example above performs a Kermit download if the Kermit protocol is
  5801.    available, or an Xmodem download  otherwise.  The \IP- command processes
  5802.    the enclosed macro only if the specified protocol is not available.
  5803.  
  5804.    \IT+[macro]                 \DLy[]\IT+[\DM[Ymodem download successful.]]
  5805.    \IT-[macro]                   \ULk[boyan5a.zip]\IT-[\DM[Upload failed.]]
  5806.    If Transfer successful?  The \IT+ command processes  the  enclosed macro
  5807.    only If the most recent file Transfer completed successfully.   The \IT-
  5808.    command processes its macro only if the last transfer was unsuccessful.
  5809.  
  5810.    %P:                                                   D:\BOYAN\EXTPROTS\
  5811.    Protocol  path.   This variable holds the  full  name  of  the  external
  5812.    protocol program path, configured in Configuration Area <D>.
  5813.  
  5814.    %T:                                                         C:\MODEM\DL\
  5815.    %TF                                                          TWIDDLE.ARC
  5816.    Transfer path, Transfer Filename.    The %T: variable stores the name of
  5817.    the most recent directory selected for  a  file transfer;  %TF holds the
  5818.    name of the file most recently selected to be transferred.
  5819.  
  5820.    %TI                  Ymodem DL: ALLFILES.ARC     44,160 0:04:36    67.4%
  5821.    Transfer  Information.     After   a  file  transfer,  BOYAN  builds  an
  5822.    information string  like  the  one  above.    The string consists of the
  5823.    protocol used, UL or  DL,  filename,  file  size, transfer duration, and
  5824.  
  5825.  
  5826.  
  5827.    5.2.13:  BOYAN Power--Macros and Script Files                         98
  5828.    ________________________________________________________________________
  5829.  
  5830.  
  5831.  
  5832.  
  5833.    efficiency  percentage.    If  the  transfer is unsuccessful,  the  word
  5834.    (FAILED) follows the filename.  This string can be included in the usage
  5835.    log, for example, as in Auto-macro #8 ("After a file transfer").
  5836.  
  5837.    %UD                                                                   UL
  5838.    UpLoad or DownLoad?   This variable holds "UL"  after an upload or  "DL"
  5839.    after a download.
  5840.  
  5841.    \ULc-[filename]                         \UL-[c:\modem\files\twiddle.arc]
  5842.    UpLoad.  The use of this command, UpLoad file, is  analogous  to the use
  5843.    of the  \DL  command.  The protocol letter (c), minus sign, and filename
  5844.    parameters  are  all  optional.  If  BOYAN  cannot  find  the  file  for
  5845.    uploading, however, the upload will be aborted.
  5846.  
  5847.    \WW+   \WW-   \WW*
  5848.    Word Wrap.  \WW+ enables, \WW- disables, and \WW* toggles  the automatic
  5849.    word wrap handling feature of message uploads.
  5850.  
  5851.    5.2.14  User Variables
  5852.  
  5853.    %V0   %V1  ...  %V9
  5854.    %VA   %VB  ...  %VZ
  5855.    These  36  user-definable  variables,  along  with  the  following macro
  5856.    commands, give the macro  language  enormous power.  A user variable can
  5857.    hold a string, a number, or a macro.
  5858.  
  5859.    \DVc[x]                                             \II+;,%V0[\DV0[%II]]
  5860.    Deletes the leading x characters from the specified user Variable.   For
  5861.    example,  \SV0[Justin] \DV0[3]  results  in %V0 being set to "tin".  The
  5862.    more complicated example above has the effect of deleting all characters
  5863.    up to the first semicolon in %V0.  Combined with  the  \LV command, this
  5864.    command  lets  you  pick out any substring from within a variable.  (See
  5865.    HOST.BSC for many examples.)
  5866.  
  5867.    \GVc[filename]                    \RE[ \GV5[FOO.DOC] %V5{ \IV5+^Z[\EM] ]
  5868.    \GVc[]                                                            \GV5[]
  5869.    Get Variable from file.  This  command  reads  from an ASCII file into a
  5870.    user variable.  Each  successive  call  to  \GV1[foo.txt] reads one more
  5871.    line  from  the  specified file foo.txt.    If  you  switch  to  another
  5872.    filename, e.g., \GV3[bar.doc], then foo.txt will be closed and the first
  5873.    line of bar.doc  will  be read.  When you reach the end of the file, the
  5874.    user  variable will contain the control-Z (EOF)  marker.    The  example
  5875.    given above actually  performs  an  ASCII  upload of FOO.DOC:  the macro
  5876.    repeatedly gets a line of text from FOO.DOC into %V5,  then  sends %V5 +
  5877.    <CR> over the modem, and checks to see if the ^Z marker was reached.  It
  5878.    is a good idea to close any files opened this way  by  using  the \GVc[]
  5879.    command.
  5880.  
  5881.  
  5882.  
  5883.    5.2.14:  BOYAN Power--Macros and Script Files                         99
  5884.    ________________________________________________________________________
  5885.  
  5886.  
  5887.  
  5888.  
  5889.    \IVc+string[macro]               \IV5+secret[Welcome! | Wrong password.]
  5890.    \IVc-string[macro]                           \IV0-[\DM[Input accepted.]]
  5891.    If Variable equals?    The  \IV  command tests whether variable c equals
  5892.    string.    \IVc+string[macro]   is   actually   just   a   shortcut  for
  5893.    \IE+%Vc,string[macro] , and similarly with  \IVc-.    The  first example
  5894.    sends  the  "Welcome!"  message  if  %V5 equals "secret", or the  "Wrong
  5895.    password" message otherwise.    The  second  example tests to see if %V0
  5896.    equals the  empty  string--that  is,  if %V0 is empty.  If not, then the
  5897.    "Input accepted" message is displayed.
  5898.  
  5899.    \KVc[string]                                       \KV0[Your selection?]
  5900.    \KVcstring1[string2]                 \KV8%DR[New disk drive: ] \ND[%V8:]
  5901.    Keyboard Variable.   This  command  lets  you  make  BOYAN's  macros and
  5902.    scripts interactive.  BOYAN prompts you for keyboard input on the status
  5903.    line; what you  type is stored in variable c.  The string in brackets is
  5904.    the prompt; e.g., the first example above prompts the  user  with  "Your
  5905.    selection?".    You can specify a default  response  to  the  prompt  by
  5906.    placing another string  before  the  first  left  bracket.    The second
  5907.    example above uses  the  %DR  variable  to make the default response the
  5908.    current  drive letter; it then uses the \ND command to change to the new
  5909.    drive letter typed by the user.  Note:  when responding to a \KV prompt,
  5910.    you  must  press  <Enter> after typing your response, unless the default
  5911.    response is one character long.  If the  default  response  is  a single
  5912.    character, BOYAN expects a keyboard  response of only one character, and
  5913.    does not require you to press <Enter>.   In  the  second  example above,
  5914.    since the current  drive  letter  %DR  is always just one character, the
  5915.    user does not have to press <Enter> after responding.
  5916.  
  5917.    \LVc[x]                                                 \SV1[%B:]\LV1[2]
  5918.    \LVc[]   %LV                          \LV5[]  \ST[Length of %V5 is %LV.]
  5919.    Length of Variable.  This command allows your macros  to  perform  basic
  5920.    string manipulation.  If a numeric argument x  is  given,  \LV  sets the
  5921.    length of variable c to be exactly x (0..80)  characters,  padding  with
  5922.    spaces  if needed.  In the first example above, %V1 is set to the  BOYAN
  5923.    directory (e.g. "C:\BOYAN"),  and  then truncated down to two characters
  5924.    so  %V1 = "C:".  The %LV variable holds the new length of the  variable.
  5925.    If  no  argument  is enclosed in the brackets, then the  length  of  the
  5926.    string is left unchanged.  The second example above demonstrates  how to
  5927.    find the length of a variable's contents without changing the variable.
  5928.  
  5929.    \RVc[y]                                 Please type your name:  \RV1[30]
  5930.    \RVc*[y]                           Please type your password:  \RV2*[20]
  5931.    \RVc-[y]                                       \WF[Time left:] \RVT-[20]
  5932.    \RVc+[y]                                                       \RVL+[70]
  5933.    Read Variable.  This command is used to read input  from  the modem into
  5934.    user variable c.  Up to y characters are accepted, and the entry must be
  5935.    terminated by a <Return>.   Backspacing is allowed and handled properly.
  5936.    With  the * parameter, BOYAN echoes asterisks  rather  than  the  actual
  5937.    typed text back to the  modem.    With  the  -  parameter,  BOYAN echoes
  5938.  
  5939.  
  5940.  
  5941.    5.2.14:  BOYAN Power--Macros and Script Files                        100
  5942.    ________________________________________________________________________
  5943.  
  5944.  
  5945.  
  5946.  
  5947.    nothing at all; this can  be used to read prompts from a BBS into a user
  5948.    variable.   Finally,  the  +  parameter  tells  BOYAN to "read with word
  5949.    wrap":  if the input text exceeds the given maximum  length  y, then the
  5950.    previous  word  of  input will be erased and saved for  the  next  \RVc+
  5951.    command.  See the HOST.BSC script for many examples of how \RV is used.
  5952.  
  5953.    \SVc[string]                      \SV4[The current time is %HR:%MI:%SE.]
  5954.    Set Variable.  This command lets you Set user Variable  c.   The example
  5955.    above sets variable %V4 equal to a message containing the current time.
  5956.  
  5957.    \TVc[y]                                                         \TV1[84]
  5958.    Terminal keyset macro into  Variable.   This command is analagous to the
  5959.    \MV command, moving the  contents  of  BOYAN  Secondary Keyset macro # y
  5960.    (41..110) into user variable c.
  5961.  
  5962.    \+Vc[y]                           \SV1[68]  \+V1[34]  \DM[ 68+34 = %V1 ]
  5963.    Plus Variable.  This command  lets your macros perform basic arithmetic.
  5964.    The number y is added to the contents of user variable c, and the result
  5965.    is again stored in variable c.   To  perform  subtraction,  let  y  be a
  5966.    negative number, e.g. \+V1[-34].  The valid range for  numeric  data  is
  5967.    -10000..10000.  In the example above, the  \+V1[34] command  changes the
  5968.    value of %V1 from 68 to 102.
  5969.  
  5970.    5.2.15  Macro Control
  5971.  
  5972.    \\string                         \DL[]  \\ that command downloads a file
  5973.    (Macro  comment)    BOYAN ignores all characters in a macro after the \\
  5974.    command.  Use this to insert remarks in a macro.  BOYAN also ignores any
  5975.    spaces which immediately precede the "\\", so that you can use spaces to
  5976.    align  comments in a script file.  The above example has the same effect
  5977.    as "\DL[]" alone.
  5978.  
  5979.    \AB                       \KV2Y[Continue? ]\IV2+N[\AB]\DM[Continuing...]
  5980.    ABort  current  macro  (or script file) processing.  The example prompts
  5981.    the user with the "Continue?" prompt.  If  the  user  responds  "N", the
  5982.    macro or  script  is  aborted,  and  none  of the following commands are
  5983.    processed.
  5984.  
  5985.    \AT+[macro]                                                    \AT+[\MM]
  5986.    \AT-[macro]                       \AT-[\PM[Script file %CS is running.]]
  5987.    ATtended?  The \AT+  command  processes the enclosed macro only if BOYAN
  5988.    is  attended,  that is, if there is no script file running.    The  \AT-
  5989.    command processes the enclosed macro only if BOYAN is not attended--when
  5990.    a script file is running.
  5991.  
  5992.    \EM                                         \RE[ \DM[ %RE ]  \CA+[\EM] ]
  5993.    End Macro:  stops the current macro; if in a script file, advance to the
  5994.    next  line of the script.  This command is most often used to break  out
  5995.    of an infinite  REpeat  loop.    In  the example above, BOYAN displays a
  5996.  
  5997.  
  5998.  
  5999.    5.2.15:  BOYAN Power--Macros and Script Files                        101
  6000.    ________________________________________________________________________
  6001.  
  6002.  
  6003.  
  6004.  
  6005.    running counter until the CArrier signal is detected, at which point the
  6006.    \EM command breaks the loop.
  6007.  
  6008.    \IE+string1,string2[macro]             \IE+%UD,DL[\DM[File downloaded.]]
  6009.    \IE-string1,string2[macro]        \IE-0,%DS[\JD|\ST[Can't jump to DOS.]]
  6010.    If  Equal?    The \IE command tests the equality of string1 and string2.
  6011.    \IE+  processes  the  enclosed macro if  the  strings  are  equal;  \IE-
  6012.    processes  its  macro  only if they are not.  The  first  example  above
  6013.    displays the "File downloaded"  message  if the last file transfer was a
  6014.    download (the %UD variable would equal "DL").  The second  example jumps
  6015.    to DOS if the amount  of  DOS  Shell  space  (%DS) does not equal 0, and
  6016.    writes a status message if %DS does equal 0.   Case  is NOT significant,
  6017.    so ibm-PC matches Ibm-Pc.
  6018.  
  6019.    \II+string1,string2[macro]  \II+Put,Computer[\DM['Put' found at position
  6020.                                                                      %II.]]
  6021.    \II-string1,string2[macro]    \II-PCA,%V6[\DM[Error:  %V6 should contain
  6022.                                                                    'PCA'.]]
  6023.    %II   %IM                                           \II+;,%V8[\LV8[%IM]]
  6024.    If  Included?    The \II command tests  If  string1  is  Included  as  a
  6025.    substring of  string2,  as  "Put"  is  a  substring of "Computer".  \II+
  6026.    processes  its  macro  if string1 is included in string2; \II- processes
  6027.    macro if string1 is not  in  string2.    The  %II  variable  returns the
  6028.    numeric position within string2  where  string1  was  found, if \II+ was
  6029.    successful,  so  the  first example macro above  displays  the  message,
  6030.    "'Put' found at position 4".  The %IM macro simply equals %II Minus one.
  6031.    This  is used in the third example above to truncate %V8 at the position
  6032.    where a semicolon was  found;  e.g.,  if %V8 = Justin Boyan;ibm-pc, then
  6033.    processing the \LV8[%IM] macro leaves %V8 = Justin Boyan.
  6034.  
  6035.    \IK+[macro]                        \ST[Press any key: _] \RE[\IK+[\EM] ]
  6036.    \IK-[macro]
  6037.    %IK                                         \IE-%IK,Q[\MA[61] |ELSE \AB]
  6038.    If  Keypressed?   \IK+ runs its enclosed macro only if a  key  has  been
  6039.    pressed during the operation of the current macro or script block.  \IK-
  6040.    runs its enclosed macro if no  key  has  been pressed.  The %IK variable
  6041.    always  holds  the  last character typed by the user.  The first example
  6042.    above repeatedly checks for a keypress, ending the macro once  you press
  6043.    a key.  The second example runs macro #61 if the  last  key  you pressed
  6044.    was  q; if the last key you pressed was not q, then the macro/script  is
  6045.    aborted.  Compare %IK with the \KV macro command  described  in  section
  6046.    5.2.14.  The difference is that  \KV  stops macro processing to wait for
  6047.    user input, while %IK checks to see if you have typed anything while the
  6048.    macro is running.
  6049.  
  6050.    \MA[x]                                                            \MA[9]
  6051.    MAcro.  This invokes BOYAN macro  #  x  (1-120).  For example, the macro
  6052.    command \MA[9]  runs the initialization Auto-macro;  \MA[38] invokes the
  6053.    <Alt-X> (exit BOYAN with verify) macro.
  6054.  
  6055.  
  6056.  
  6057.    5.2.15:  BOYAN Power--Macros and Script Files                        102
  6058.    ________________________________________________________________________
  6059.  
  6060.  
  6061.  
  6062.  
  6063.    \REx[macro]                                                  \RE5[\WF[]]
  6064.    \RE[macro]                    \ST[Waiting for carrier...] \RE[\CA+[\EM]]
  6065.    %RE                                             \RE24[\DM%RE[Hi there!]]
  6066.    REpeat  macro.    If  a  number  x  (1..32767) is given before the  left
  6067.    bracket,  then  the  enclosed macro will be executed x times.  The first
  6068.    example above would wait  for  five characters to arrive from the modem.
  6069.    If no number is specified,  the enclosed macro is repeated indefinitely.
  6070.    To break out of such an "infinite loop," the enclosed macro must contain
  6071.    an  ABort,  End Block, or End Macro command (or the user  can  abort  by
  6072.    pressing <Esc>).  Above, the \CA+[\EM]  command  is used to break out of
  6073.    the  repeat  loop as soon as the carrier signal is detected.    The  %RE
  6074.    variable holds the counter number of the innermost repeat loop.   In the
  6075.    third example above, the message "Hi there" is displayed on line 1, line
  6076.    2, line 3, ... all the way to line 24.
  6077.  
  6078.    5.2.16  Miscellaneous
  6079.  
  6080.    \CB[]                                                        \AT+[\CB[]]
  6081.    \CB[c]                                                            \CB[T]
  6082.    Configure BOYAN.  \CB[] invokes BOYAN's main configuration menu.  If you
  6083.    specify a letter (any of S C D E M A T  X)  within  the  brackets, BOYAN
  6084.    will  jump directly to the specified Config  Area.    The  configuration
  6085.    choices  must be made from the keyboard, so do not run this macro unless
  6086.    the keyboard is attended.
  6087.  
  6088.    \EX                                       \KV0Y[OK to exit? ]\IV0+Y[\EX]
  6089.    EXit BOYAN immediately!   A macro like the one above may be used to make
  6090.    the user confirm that he wants to exit.
  6091.  
  6092.    \HE
  6093.    HElp.  This invokes BOYAN's main help screen, the BOYAN Command Menu.
  6094.  
  6095.    \HK
  6096.    Help with function Keys.    This calls up BOYAN's screen of user-defined
  6097.    function key descriptions.
  6098.  
  6099.    \RB
  6100.    Review Buffer.  This calls up the scroll-back buffer for viewing, script
  6101.    learning, etc.
  6102.  
  6103.    \SK+   \SK-   \SK*   %SK
  6104.    Secondary Keyset (Scroll locK).    \SK+  sets Scroll-Lock ON, activating
  6105.    the Secondary Keyset of the current BAM.  \SK-  turns  Scroll-Lock  OFF,
  6106.    \SK* toggles Scroll-Lock, and %SK returns  Scroll-Lock's  current status
  6107.    (ON or OFF).
  6108.  
  6109.  
  6110.  
  6111.    5.2.16:  BOYAN Power--Macros and Script Files                        103
  6112.    ________________________________________________________________________
  6113.  
  6114.  
  6115.  
  6116.  
  6117.    \SMx[string]                                         \SM1[ATDT 9,"@SF"{]
  6118.    Set BOYAN Macro  # x to the specified macro.  This new macro is saved to
  6119.    the BOYAN.MAC file, just as if it were reconfigured in Config  Area <M>.
  6120.    The example sets macro #1 (the Dialing command) to ATDT 9,@SF{  which is
  6121.    useful for dialing out from Centrex-type phone extensions.
  6122.  
  6123.    \TMx[string]                                                \SN101["\HK]
  6124.    Set  BOYAN  Terminal  Keyset Macro # x (41..110) to the specified macro.
  6125.    This  new  macro  is saved to the .CNF file corresponding to the current
  6126.    BAM, e.g., VT-100.CNF, HOST.CNF,  etc.   Also see the \TV command above,
  6127.    which reads a macro from the secondary keyset into a user variable.
  6128.  
  6129.    5.2.17  <Shift-F1> Trace Mode
  6130.  
  6131.    BOYAN's macro language provides  a  "trace"  feature  which can help you
  6132.    learn  how  a  macro  works  or  discover why a macro or script  is  not
  6133.    working.  When Trace Mode is  on,  the  middle of the Status Line always
  6134.    displays the two letters of the current macro  command  being processed.
  6135.    (When  sending text to the modem, you will see a small arrow rather than
  6136.    two letters.)  In addition, while  a  script file is running, the Status
  6137.    Line  will  indicate  the  current  line  number  of  the  script  being
  6138.    processed.
  6139.  
  6140.    An especially handy feature is the ability to slow down and speed up the
  6141.    script dynamically, as the script is running.  When the  Num-Lock toggle
  6142.    is  not  locked,  the macro or script being traced will  race  along  at
  6143.    normal speed.  At this speed it is impossible to follow the trace output
  6144.    closely.    When  Num-Lock   is   locked,   however,  BOYAN  pauses  for
  6145.    approximately one-half second between displaying  the  macro's  name and
  6146.    actually executing  it.    You  may turn Num-Lock on and off at any time
  6147.    while a script is running.
  6148.  
  6149.    \NK+   \NK-   \NK*   %NK
  6150.    Num locK.  \NK+  sets  Num-Lock, \NK- unsets Num-Lock, \NK* toggles Num-
  6151.    Lock,  and  %NK  returns Num-Lock's current status (ON or OFF).  A handy
  6152.    debugging tool is to insert the \NK+ command  at  the  position  in your
  6153.    script where you are having trouble.  When the script gets  to precisely
  6154.    that  point,  it will slow down so that you can follow  the  Trace  Mode
  6155.    output.
  6156.  
  6157.    \TR+   \TR-   \TR*   %TR
  6158.    The \TR+  and  \TR-  macros  are used to actually turn Trace Mode on and
  6159.    off.    \TR*  toggles the Trace Mode, and %TR reports the current status
  6160.    (ON or OFF).
  6161.  
  6162.  
  6163.  
  6164.    5.3:  BOYAN Power--Macros and Script Files                           104
  6165.    ________________________________________________________________________
  6166.  
  6167.  
  6168.  
  6169.  
  6170.    5.3  BOYAN Macro Tutorial, Examples
  6171.  
  6172.  
  6173.    The best way to learn how BOYAN's macros work is  to  experiment:  write
  6174.    one, and see what it does!    The <Alt-M> "Enter macro manually" command
  6175.    is useful for trying out  a  short  macro.    Many  example  macros have
  6176.    already been given, next to the descriptions of all the macro commands.
  6177.  
  6178.    The following additional examples illustrate  how  BOYAN's  120 built-in
  6179.    macros give you flexibility unlike any other communications program.  To
  6180.    edit the BOYAN macros, press <Alt-K>.  You can then  choose  a macro for
  6181.    editing by either typing its number (1-120) and pressing <Enter>,  or in
  6182.    the case of keystroke  macros,  simply  pressing  the keystroke (such as
  6183.    <F2>) itself.  For a review  of  basic macro editing, please see section
  6184.    3.9.4.
  6185.  
  6186.    Don't  worry  about  destroying  BOYAN's  original   macros   while  you
  6187.    experiment.  You can always restore  all  of the preset macros by simply
  6188.    deleting the BOYAN.MAC file from your disk and starting BOYAN over.
  6189.  
  6190.    5.3.1  Built-in Keystroke Examples
  6191.  
  6192.    This section studies some of the built-in BOYAN keystroke macros to show
  6193.    you  how  they  work and to aid you in modifying them if you like.  They
  6194.    are ordered roughly from simplest to most complex.
  6195.  
  6196.    >                    <F2>:  Send your name + <Enter>                   <
  6197.    Macro #72: Justin Boyan{
  6198.    The simplest kind of macro!  The left curly brace stands for the <Enter>
  6199.    or <Return> character.
  6200.  
  6201.    >                  <F3>:  Send your password + <Enter>                 <
  6202.    Macro #73: %PW{
  6203.    When you  a  dial  a  system  from  the dialing directory, that system's
  6204.    private  password is stored in BOYAN's %PW variable.    This  key  macro
  6205.    sends that password and the <Return> character over the modem.
  6206.  
  6207.    >               <Alt-F10>:  Display current time and date              <
  6208.    Macro #110: \ST[It is now %HR:%MI:%SE on %MO/%DA/%YR.]
  6209.    The  \ST[..]  macro  command displays a string on the Status line.  This
  6210.    example shows how Macro Variables may be used in such a string.
  6211.  
  6212.    >                     <Alt-N>:  New disk directory                     <
  6213.    Macro #28: \KV0%C:[NEWDIR: ]  \ND[%V0]  \ST[%C:]
  6214.    This  example shows how BOYAN's interactive macros  work.    First,  the
  6215.    macro  uses the "\KV#default[prompt]" command to  prompt  the  user  for
  6216.    input.    In  this case, the user's prompt is "NEWDIR:  ";  the  default
  6217.    response is %C:, a variable which  returns  the name of the current disk
  6218.    directory; and the user's final response is kept in  user  variable  #0.
  6219.  
  6220.  
  6221.  
  6222.    5.3.1:  BOYAN Power--Macros and Script Files                         105
  6223.    ________________________________________________________________________
  6224.  
  6225.  
  6226.  
  6227.  
  6228.    Then, the \ND[%V0]  command  switches  to  a New Directory given by %V0.
  6229.    Finally, the \ST command displays a status message, consisting of simply
  6230.    the (new) current disk directory.
  6231.  
  6232.    >               <Shift-F1>:  Toggle BOYAN's "Trace Mode"               <
  6233.    Macro #39: \TR* \ST[Macro trace mode now %TR]
  6234.    First, the \TR* command has the effect of actually  toggling  the  Trace
  6235.    Mode setting.  Then, a status message is displayed  which  includes  the
  6236.    new value of  the Trace Mode variable %TR, either ON or OFF.  This macro
  6237.    is typical of BOYAN toggle commands.  (The  trace  mode  itself  is very
  6238.    useful for understanding macros and scripts; see section 5.2.17.)
  6239.  
  6240.    >                     <Alt-L>:  Toggle Disk Logging                    <
  6241.    Macro #26: \IE+OFF,%LD[\KV0%LN[Log to: ]] \LD*[%V0] \ST[Logging now %LD]
  6242.    This is another toggle command like <Shift-F1>, but it inserts  an extra
  6243.    conditional  command  at  the  beginning.   The conditional  (If  Equal)
  6244.    command checks if logging to disk (%LD) is equal to OFF.    If  so, then
  6245.    the  \KV command prompts the user for a filename to "Log to", giving the
  6246.    default log name (%LN) as a default.
  6247.  
  6248.    >                         <F6>:  View usage log                        <
  6249.    Macro #76: \DC[%LC %UN]
  6250.    This macro  uses  the  \DC[..]  macro to execute a DOS Command.  The %LC
  6251.    variable  names  your  file lister program (specified in Config Area D).
  6252.    The %UN variable  contains  the  name  of  your usage log file.  Putting
  6253.    these  together, the DOS command that <F6>  executes  looks  like  "LIST
  6254.    C:\BOY5\BOYAN.USE".   Similarly, you can assign any  DOS  command  to  a
  6255.    single keystroke.
  6256.  
  6257.    >        <Ctrl-F1>:  View the BOYAN.DOC file, this user's manual       <
  6258.    Macro  #81:  \SV0[%B:BOYAN.DOC]  \FE+%V0[\DC[%LC  %V0]  |  \ST[File  not
  6259.    found.]]
  6260.    This macro adds complexity  to  the <F6> example above because it checks
  6261.    that  the file exists before trying to view it.  In this case, the  file
  6262.    to be viewed is BOYAN.DOC, which if it exists is assumed to live in your
  6263.    BOYAN home directory (specified by %B:).  Here's how  the  macro  works.
  6264.    First, it sets  user  variable  0  to  hold  the  full name of the file,
  6265.    %B:BOYAN.DOC.  Then it uses  the  \FE+  macro  to  check  that  the file
  6266.    exists.   If  it  does,  the macro calls DOS to list the file; otherwise
  6267.    (|), it prints a "File not found" status message.
  6268.  
  6269.    >                <Alt-V>:  View file using File Manager                <
  6270.    Macro #36: \( \KV0[VIEW: ] \RS \IV0+[\FMV[] |ELSE \DC[%LC %V0]]
  6271.    Macro #119: \KS \DM1,24[  (Leave blank for directory.)  ]
  6272.    If a key macro is too long to fit in the space provided, one solution is
  6273.    to break it  up  into  two  separate  macros.  The <Alt-V>, <Alt-R>, and
  6274.    <Alt-W>  key  macros  all make use of macro #119, the \( Shortcut macro.
  6275.    This shortcut does two things:  it stores an image of the current screen
  6276.    in  memory  (\KS), and it displays a brief message on line  24.    After
  6277.  
  6278.  
  6279.  
  6280.    5.3.1:  BOYAN Power--Macros and Script Files                         106
  6281.    ________________________________________________________________________
  6282.  
  6283.  
  6284.  
  6285.  
  6286.    invoking the  shortcut  \(,  the  <Alt-V>  macro  prompts the user for a
  6287.    filename, and then restores the  screen  (\RS),  thus  un-displaying the
  6288.    "Leave  blank  for  disk directory" message.   Finally,  the  \IV0+[...]
  6289.    command tests whether the user's response  (%V0)  was empty.  If it was,
  6290.    then the File Manager is invoked with "View" as  the  default  selection
  6291.    (\FMV[]); otherwise, the  <Alt-V>  macro  calls  DOS  to  view  the file
  6292.    immediately.
  6293.  
  6294.    5.3.2  Auto-macro Examples
  6295.  
  6296.    >               Clear screen automatically before dialing              <
  6297.    Macro #1:  \ZS ATDT@SF{
  6298.    BOYAN dials a number by simply executing Macro #1, the  dialing command.
  6299.    The @SF variable is used  to  insert  the  System  FON  number  into the
  6300.    command.  To make BOYAN automatically clear the  terminal  screen before
  6301.    dialing, just insert the command \ZS (Zap Screen) into macro #1.
  6302.  
  6303.    >          Remove same-named systems from Queue after connect          <
  6304.    Macro #6:  \UM[%SN (%MS baud): %SF]  \QA-[%SN]
  6305.    When  you  connect  to a system, BOYAN automatically deletes that system
  6306.    from the Redialing Queue.  However, by appending  the  \QA-[%SN] command
  6307.    to  macro #6, you instruct BOYAN to also delete from the Queue any other
  6308.    systems with  a  similar  System  Name.    For example, suppose you have
  6309.    systems named "Bob's BBS Line 1", "Bob's BBS  Line  2",  and  "Bob's BBS
  6310.    Line 3" all in the Queue.  When you connect to any one of those systems,
  6311.    this macro will automatically remove all three systems from the Queue.
  6312.  
  6313.    >        Eliminate the "squawk" BOYAN makes after disconnecting        <
  6314.    Macro #7:  \RC \SK- \UM[| Disconnected after %SL]
  6315.    Simply  delete  the    \AL3[0]   command from the "After  disconnecting"
  6316.    Auto-macro (#7).
  6317.  
  6318.    >     Automatically return to dialing directory after disconnecting    <
  6319.    Macro #7:  \AL3[0] \RC \SK- \UM[| Disconnected after %SL] \DI[]
  6320.    As soon as the  connection's  carrier signal is lost, BOYAN executes its
  6321.    Auto-macro #7.  By adding the  command  "\DI[]"  to the end of macro #7,
  6322.    you instruct BOYAN  to  automatically invoke the dialing directory after
  6323.    disconnecting.
  6324.  
  6325.    >                Automatically log all sessions to disk                <
  6326.    Macro #6: \UM[%SN (%MS baud): %SF]  \LD+[%B:BOYAN%S#.LOG]
  6327.    Macro #7: \AL3[0] \RC \SK- \UM[| Disconnected after %SL]  \LD-
  6328.    If  you  add  these \LD commands to Auto-macros #6 and  #7,  BOYAN  will
  6329.    automatically maintain a  separate,  permanent log file for each dialing
  6330.    directory  entry.    The  log  files  will  be stored in the BOYAN  home
  6331.    directory  (%B:) and  named  BOYAN1.LOG,  BOYAN2.LOG, ...  BOYAN200.LOG,
  6332.    depending on the system's entry number in the  dialing  directory (%S#).
  6333.    The  appropriate  log  file is opened by Macro #6 whenever  you  make  a
  6334.    connection  and closed by Macro #7 (\LD-) as  soon  as  you  disconnect.
  6335.  
  6336.  
  6337.  
  6338.    5.3.2:  BOYAN Power--Macros and Script Files                         107
  6339.    ________________________________________________________________________
  6340.  
  6341.  
  6342.  
  6343.  
  6344.    Thanks to Auto-macro #14 (the "Log file init macro"), a header line will
  6345.    separate the sessions within each system's log file.
  6346.  
  6347.    >             Log each day's sessions to a dated disk file             <
  6348.    Macro #9: ATX4S0=0{  \LD+[%B:%MO-%DA-%YR.LOG]
  6349.    Unlike the previous example, where the  name  of the log file depends on
  6350.    which system you call, this example opens a log file whose  name depends
  6351.    on  the  current  date.  Every time you start BOYAN, this start-up macro
  6352.    (#9) will open a log file in the BOYAN home directory (%B:) named by the
  6353.    current  date, e.g., 05-28-92.LOG on May 28,  1992.    BOYAN's  conclude
  6354.    macro contains the \LD- command, so the log will be closed when you exit
  6355.    BOYAN.
  6356.  
  6357.    >       Automatically fill the redialing queue at BOYAN start-up       <
  6358.    Macro #9:  \DM[ Welcome to BOYAN! ] ATX4S0=0{ \QA[1] \QA[4] \QA[5]
  6359.    Suppose you dial systems 1, 4, and 5  in  your  dialing  directory every
  6360.    time you use BOYAN.  If  you  append  the commands  \QA[1] \QA[4] \QA[5]
  6361.    to  the  BOYAN  start-up  macro  (#9),  then  those three  systems  will
  6362.    automatically  appear in the redialing queue.   You  could  also  append
  6363.    either of the \QE (enter redialing queue) or \QD (begin queue redialing)
  6364.    commands.
  6365.  
  6366.    >           Report the current Action Module name at start-up          <
  6367.    Macro #9: ATX4S0=0{  \ST[Using Action Module: %AN]
  6368.    After initializing the modem with ATX4S0=0 <Return>, this BOYAN start-up
  6369.    macro will display  a  status  message  such  as  "Using  Action Module:
  6370.    VT-100".  The %AN variable holds the name of the current action module.
  6371.  
  6372.    >          Get path confirmation before starting auto-download         <
  6373.    Macro #12: \AT+[\DL[]]
  6374.    Remove the "-" from the default Auto-download macro to make BOYAN   wait
  6375.    for you to confirm the download path before beginning an auto-download.
  6376.  
  6377.    >           Dial multiple systems in the middle of the night           <
  6378.    Macro #99: \QC \QA[Joe] \QA[Liz] \QA[Bob] \PU[3] \QU[6]
  6379.    Macro #7: \UM[| Disconnected after %SL] \QU[6]
  6380.    Let's see how these work.  Macro #99 corresponds to the  <Shift-F9> key.
  6381.    The first thing that happens when you press <Shift-F9> is that the queue
  6382.    is cleared.  Then, the \QA  command  adds  systems to the queue from the
  6383.    Dialing Directory.  \PU tells BOYAN to Pause  Until  3:00  am,  at which
  6384.    point  \QU will tell BOYAN to begin Queue redialing--but to give up at 6
  6385.    am if no connection has been made.
  6386.  
  6387.    If  a  connection  is made, however, then Macro #99 will finish, and the
  6388.    auto-logon script for that  system  (say, JOE.BSC) will take over.  This
  6389.    script  might read your mail on Joe's BBS and capture it to a file,  for
  6390.    example (see section 5.5).  At some point, JOE.BSC logs you off from the
  6391.    BBS.  Here's where macro #7, the "After Disconnecting" Auto-macro, comes
  6392.    into  play.   As soon as the carrier signal drops, Macro  #7  wakes  up,
  6393.  
  6394.  
  6395.  
  6396.    5.3.2:  BOYAN Power--Macros and Script Files                         108
  6397.    ________________________________________________________________________
  6398.  
  6399.  
  6400.  
  6401.  
  6402.    records a message in the usage log, and begins redialing again  with the
  6403.    \QU command.  The systems that remain in the queue (Liz and Bob) will be
  6404.    handled just like Joe's, as  soon  as  a  connection  is made.  At 6 am,
  6405.    queue redialing will stop, even if there are some systems  which haven't
  6406.    yet been reached.
  6407.  
  6408.    5.3.3  Yet More Key Examples!
  6409.  
  6410.    >              Make <Home> call up the BOYAN Command List              <
  6411.    Macro #45: \HE
  6412.  
  6413.    >           Make left mouse button invoke the Dial Directory           <
  6414.    Macro #11: \DI[]
  6415.  
  6416.    >          Make left mouse button run the MOUSMENU.BSC script          <
  6417.    Macro #11: \SC[MOUSMENU]
  6418.    This demonstrates how  you  can  link  the mouse button (or any function
  6419.    key) directly to a script file.
  6420.  
  6421.    >               Make <Alt-D> offer a "Quick-Dialing" bar               <
  6422.    Macro #18: \KV0[DIAL: ] \DI[%V0]
  6423.    If you alter the <Alt-D> keystroke macro (#18) as above, then instead of
  6424.    going  straight  to  the Dialing Directory, <Alt-D> will prompt you with
  6425.    "DIAL:" on  the  Status  Line.    First,  the \KV0 command requests your
  6426.    input,  storing  what  you type in user variable %V0.  Then the \DI[%V0]
  6427.    command dials that number, whether it is the name of  a  system from the
  6428.    Dialing Directory, the code number of a system from the directory,  or a
  6429.    full phone number entered manually.  If you typed only <Enter>, then %V0
  6430.    would  be  empty,  so  \DI[%V0]  conveniently would invoke  the  Dialing
  6431.    Directory.
  6432.  
  6433.    >              Make <Alt-0> "Kill" all BOYAN sound effects             <
  6434.    Macro #69: \BB- \AV[0] \ST[Sound effects Killed.]
  6435.    Now the <Alt-0> command (macro #69) will both turn Beeps & Bells off and
  6436.    set the Alarm Volume to  0.  As a friendly touch, it will also display a
  6437.    status message.
  6438.  
  6439.    >       Make <F9> invoke your editor on the last script file run       <
  6440.    Macro #79: \DC-[%WC %S:%SC]
  6441.    This macro makes a  handy  command  by  combining three macro variables:
  6442.    %WC, which holds the  name  of your word processor/text editor; %S:, the
  6443.    script directory, and %SC, the last script file run.    It  concatenates
  6444.    them to form a string such as "QEDIT  C:\BOY5\SCRIPT\CIS.BSC",  and then
  6445.    executes that string as a DOS Command.  The - in \DC- tells BOYAN not to
  6446.    wait for you to press a key after returning from the editor.
  6447.  
  6448.  
  6449.  
  6450.    5.3.3:  BOYAN Power--Macros and Script Files                         109
  6451.    ________________________________________________________________________
  6452.  
  6453.  
  6454.  
  6455.  
  6456.    >         Make <PgUp> remember the directory of the last upload        <
  6457.    Macro #47: \UL[%T:]
  6458.    BOYAN's normal upload macro,  \UL[],  chooses  your Upload Directory (as
  6459.    specified in Config  Area  <D>)  as  the  default path to search for the
  6460.    upload filename.  This macro tells \UL to search the  path  given by %T:
  6461.    instead, where %T: stores the path used by the previous file transfer.
  6462.  
  6463.    >                Make <End> reset the current modem port               <
  6464.    Macro #46: \CD[%MD]
  6465.    The trick is  to  tell  BOYAN  to  "change devices" to the current modem
  6466.    device--resetting the device  in  the  process.   This is what the <End>
  6467.    keystroke macro (#45) above does.  Running certain external programs may
  6468.    cause the port to "lock up"; if that  happens,  running  this  macro (by
  6469.    pressing <End>) should fix the problem.
  6470.  
  6471.    >            Make <Alt-F5> toggle the "GOSSIP" Action Module           <
  6472.    Macro #105: \IE-%AN,GOSSIP[\AM[G] |ELSE \AM[%AP]]
  6473.    The \AM macro command selects a new BOYAN Action  Module;  for  example,
  6474.    \AM[G] invokes BOYAN's Gossip Mode.  The <Alt-F5> keystroke macro (#105)
  6475.    presented above is  more  sophisticated:    if you are already in Gossip
  6476.    mode,  pressing  <Alt-F5>  again  will  return you to your prior  Action
  6477.    Module.  Here's how it works:  the  \IE-  command  checks  to see If the
  6478.    current  Action module Name, %AN, is not Equal to "GOSSIP".  If they are
  6479.    not equal, then the Gossip Mode  is  invoked by "\AM[G]".  Otherwise, if
  6480.    GOSSIP is the  current  name,  then  the previous module is invoked with
  6481.    "\AM[%AP]".   (The %AP variable remembers  the  previous  Action  module
  6482.    letter.)
  6483.  
  6484.    >            Make <Ctrl-F8> view the contents of a ZIP file            <
  6485.    Macro #88: \FM`pkunzip -V[*.ZIP]
  6486.    This macro invokes the File Manager on all  .ZIP  files  in  the current
  6487.    directory.    The  default  command  for  the  File  Manager is given as
  6488.    PKUNZIP -V, which is the DOS command to view the contents of a ZIP file.
  6489.  
  6490.    >             Make <Ctrl-F9> build a ZIP of selected files             <
  6491.    Macro   #89:\FML[]   \KV0[Build   zip:]  \DC-[pkzip  %V0  "@boymark.lst]
  6492.    \ST[Done!]
  6493.    First,  this macro invokes the File Manager with  the  List  command  as
  6494.    default.  While in the File Manager, you may use the <space> key to mark
  6495.    files, and then  <Enter>  to  list  those files to the BOYMARK.LST file.
  6496.    The  macro then prompts you for the name of the .ZIP file to build,  and
  6497.    invokes  the  DOS  Command PKZIP @BOYMARK.LST to actually build the .ZIP
  6498.    using the filenames in BOYMARK.LST.
  6499.  
  6500.    >            Make <Shift-F10> turn BOYAN into an alarm clock           <
  6501.    Macro #100: \KV0%HR:%MI[Set alarm: ] \UT%V0[\DM[ %HR:%MI:%SE ]] \AL2[3]
  6502.    This  macro   uses  several  advanced  commands.    The  first  command,
  6503.    \KV0%HR:%MI[Set alarm: ], requests keyboard input into user variable %V0
  6504.    with the prompt, "Set alarm: ".  A default of %HR:%MI, the current time,
  6505.  
  6506.  
  6507.  
  6508.    5.3.3:  BOYAN Power--Macros and Script Files                         110
  6509.    ________________________________________________________________________
  6510.  
  6511.  
  6512.  
  6513.  
  6514.    is  provided.   The second  command,  \UT%V0[\DM[ %HR:%MI:%SE ]],  loops
  6515.    Until the Time has become  %V0--which  is  the  time  read  in  from the
  6516.    keyboard.  During each loop it Displays a Message of the current time on
  6517.    the  screen.  When the \UT loop finally  finishes,  the  third  command,
  6518.    \AL2[3], rings an alarm (type 2) for three seconds.
  6519.  
  6520.                                *    *    *    *
  6521.  
  6522.    The macros above are just a small sample  of  the  range  of flexibility
  6523.    BOYAN's built-in macros can offer.  If you write a clever  macro, please
  6524.    submit it for inclusion in the next edition of this manual!
  6525.  
  6526.  
  6527.    5.4  The BOYAN Command Line
  6528.  
  6529.  
  6530.    Normally, you run BOYAN by issuing the simple command  BOYAN  from  DOS.
  6531.    BOYAN's  first  step  is  to  execute Auto-macro #9, the BOYAN  start-up
  6532.    macro.  However, in some cases,  you  may wish to avoid BOYAN's start-up
  6533.    macro.  BOYAN allows  you  to specify an alternative start-up macro when
  6534.    invoking BOYAN, directly from the DOS command line.  For example, if you
  6535.    ran  BOYAN  with  the DOS Command BOYAN ATZ{ , then BOYAN would send the
  6536.    ATZ <Return>  modem  string,  rather  than  executing  macro #9.  If you
  6537.    invoked  BOYAN by typing BOYAN \DI[Boyan Support]  ,  then  BOYAN  would
  6538.    immediately  dial  the specified number.  If  you  ran  BOYAN  with  the
  6539.    command  BOYAN \\  , then BOYAN would do  nothing  at  all  at  start-up
  6540.    (bypassing its normal start-up macro), since \\ signifies  only  a macro
  6541.    comment.    This might be useful if  you  were  already  on-line  before
  6542.    invoking BOYAN.
  6543.  
  6544.    Another application of the command line macro feature is that  BOYAN can
  6545.    be run from  a batch file.  For example, a batch file could invoke BOYAN
  6546.    with the command, BOYAN \MA[9] \SC[NIGHT] .  At  start-up,  BOYAN  would
  6547.    first run macro  #9  (the  normal  start-up macro), and then execute the
  6548.    NIGHT.BSC script file.
  6549.  
  6550.    Your DOS command line may also specify the amount of memory BOYAN should
  6551.    reserve for the DOS Shell.   For  example,  type BOYAN 100 to have BOYAN
  6552.    reserve 100K of memory for the Shell.  A start-up macro could follow the
  6553.    memory specification; e.g., BOYAN 100  \MA[9]  \DI[Boyan  Support] would
  6554.    make BOYAN reserve 100K  of  memory for DOS, execute its normal start-up
  6555.    macro, and finally dial the Boyan Support BBS.
  6556.  
  6557.  
  6558.  
  6559.    5.5:  BOYAN Power--Macros and Script Files                           111
  6560.    ________________________________________________________________________
  6561.  
  6562.  
  6563.  
  6564.  
  6565.    5.5  Script Files
  6566.  
  6567.  
  6568.    BOYAN script files can be created  by  any text editor or word processor
  6569.    which can edit standard text files--for instance, the EDLIN editor which
  6570.    comes with DOS, or the SideKick notepad.   Script  files  must  be named
  6571.    with  a suffix of .BSC, and should be placed in the default BOYAN script
  6572.    directory (although that is not mandatory).
  6573.  
  6574.    The simplest kind of script file is just  a  sequence  of  BOYAN macros.
  6575.    BOYAN processes such a script  file by sequentially evaluating each line
  6576.    of  the  file as a macro, until it reaches the end of the file.    Blank
  6577.    lines  are ignored.  This is the type of script created by BOYAN's auto-
  6578.    matic Script Learn facility.
  6579.  
  6580.    In more complex script files, you may organize the  sequence  of  macros
  6581.    into as many as 500 "blocks."   The start of a  block  is  defined  by a
  6582.    line of text which begins with the  vertical  bar    |    symbol (shift-
  6583.    backslash)  plus a block label.  Labels can be as long as you wish,  but
  6584.    only the first eight characters  are  significant,  e.g.,   MessageReply
  6585.    and  MessageRead  are equivalent labels.  Since case is not significant,
  6586.    |LOGON  and |LogOn also refer to the same block.  All macros following a
  6587.    block label are  considered  a  part  of that block until either another
  6588.    block label or the end of the file is reached.
  6589.  
  6590.    5.5.1  Script-specific Macro Commands
  6591.  
  6592.    The  Macro  Programming Language provides  several  additional  commands
  6593.    specifically  for power in script files.   These  commands  allow  BOYAN
  6594.    scripts to use looping, block nesting, and even recursion.
  6595.  
  6596.    \AB
  6597.    ABort.   Aborts all current script files, just as if you had pressed the
  6598.    <Esc> key.  If the script has a block named *WRAPUP  in  it,  that block
  6599.    will be executed before  you  are returned to terminal mode (see section
  6600.    5.5.4).
  6601.  
  6602.    \BL[label]                                                    \BL[LogOn]
  6603.    BLock.  Calls the block with the specified label.   When  that block has
  6604.    completed, control is returned to the calling macro.
  6605.  
  6606.    \EB                                             \IF+end of messages[\EB]
  6607.    End the current Block.  You can use this within a  conditional statement
  6608.    to end the block prematurely.  See also \EM (End Macro).
  6609.  
  6610.    \GB[label]                                                    \GB[LogOn]
  6611.    Goto Block.  Go directly to  the  block  with the specified label.  When
  6612.    the end of that block is reached, the script is finished; control is not
  6613.    returned to the calling macro.
  6614.  
  6615.  
  6616.  
  6617.    5.5.1:  BOYAN Power--Macros and Script Files                         112
  6618.    ________________________________________________________________________
  6619.  
  6620.  
  6621.  
  6622.  
  6623.    \GS[filename]                                                  \GS[rbbs]
  6624.    \GS[filename;label]                                   \GS[rbbs;messages]
  6625.    Goto  Script.  Go directly to the script  with  the  specified  filename
  6626.    (.BSC  suffix  assumed).   If a  semicolon  and  label  are  given,  the
  6627.    specified block of the script  is executed; otherwise, the entire script
  6628.    runs from start to finish.
  6629.  
  6630.    \KO[x]                                                            \KO[0]
  6631.    Keyboard timeOut.  Set the unattended keyboard timeout to x seconds.  If
  6632.    BOYAN requires keyboard  input  while  a  script file is active, it will
  6633.    wait  x seconds for the user to manually respond.  If there has been  no
  6634.    keyboard  response  after  x seconds, BOYAN goes ahead using the default
  6635.    response.  After the  \KO[0]  command,  for example, BOYAN automatically
  6636.    accepts the default response immediately.
  6637.  
  6638.    %S:                                                     D:\BOYAN\SCRIPT\
  6639.    %SC                                                          PCBOARD.BSC
  6640.    Script  path.    The %S: variable  contains  BOYAN's  script  file  disk
  6641.    drive+path;    %SC  holds  the  name  of  the  currently active (or most
  6642.    recently active) script file.
  6643.  
  6644.    \SC[filename]                                                  \SC[rbbs]
  6645.    \SC[filename;label]                                      \SC[rbbs;LogOn]
  6646.    SCript.   Invoke the script with the  specified  filename  (.BSC  suffix
  6647.    assumed).    If  a semicolon and label are given, the specified block is
  6648.    executed; otherwise, the entire script runs from start to finish.   When
  6649.    that script has completed, control is returned to the calling macro.  If
  6650.    the filename is not preceded by  a  DOS pathname, BOYAN assumes that the
  6651.    script file is located in the default Script directory.
  6652.  
  6653.    5.5.2  Automatic Logon Scripts
  6654.  
  6655.    In section 4.7.3.1, you  saw  how BOYAN's Script Learn Facility could be
  6656.    used to  write  scripts  for  automatic  logging-on  to a system.  BOYAN
  6657.    allows a  completely  hands-free  logon  through  its  dialing directory
  6658.    Script field.  Using the Edit command in the dialing directory,  you can
  6659.    assign each entry a 1-8  character  script  name,  like    PC-BOARD   or
  6660.    MCIMAIL .    The  next  time you connect to the system using the <Alt-D>
  6661.    Dial or <Alt-Q> Queue Redial  commands, BOYAN loads the specified script
  6662.    file (the .BSC suffix is automatically  added).   It then searches for a
  6663.    block labeled |LOGON.  If there  is  a  |LOGON block in the script, then
  6664.    only that block is executed.  Otherwise, the entire script  is processed
  6665.    from beginning to end.
  6666.  
  6667.  
  6668.  
  6669.    5.5.3:  BOYAN Power--Macros and Script Files                         113
  6670.    ________________________________________________________________________
  6671.  
  6672.  
  6673.  
  6674.  
  6675.    5.5.3  Running Script Files
  6676.  
  6677.    BOYAN  can  automatically  process  a  logon script file after making  a
  6678.    connection.  However, you may often need to run a  script  at some other
  6679.    time.    BOYAN  provides  a  number of convenient methods for  executing
  6680.    either an entire script file or just a single block from a script file.
  6681.  
  6682.    When specifying a script file, you may include  the  script's directory,
  6683.    its name (.BSC suffix  assumed),  and optionally a semicolon and a block
  6684.    label.  For example, the following are all valid script specifiers:
  6685.  
  6686.    c:\text\menu;DownLoad
  6687.                         This  specifies  the  drive, directory, script name
  6688.                         (MENU.BSC), and block to execute.
  6689.  
  6690.    RBBS.BSC;LogOn       This  specifies  the LOGON block  of  the  RBBS.BSC
  6691.                         script.  BOYAN will search for this script first in
  6692.                         the Script  Directory (set in Config Area <D>).  If
  6693.                         it is not found there,  BOYAN will also look for it
  6694.                         in the current directory.
  6695.  
  6696.    A:INIT               This  specifies  the  A:INIT.BSC  script,   but  no
  6697.                         particular block.  BOYAN will run the entire script
  6698.                         from start to finish.
  6699.  
  6700.    Besides specifying an auto-logon script, you can run a  script  file  in
  6701.    the following ways:
  6702.  
  6703.       1.  Use BOYAN's <Alt-R> command from terminal mode.   Respond  to the
  6704.           "SCRIPT:" prompt with a specifier  like any of the three examples
  6705.           above.  If your response is  blank,  you will be given the chance
  6706.           to select a script directly from your Script Directory.
  6707.  
  6708.       2.  Select the script  file  directly from the <Alt-F> Directory File
  6709.           Manager (section 4.6.1).  If the file cursor is over a  file with
  6710.           a .BSC suffix, pressing E will execute the script.
  6711.  
  6712.       3.  Use the \SC[filename;label]   command  in  any  BOYAN macro.  For
  6713.           example,  you  could  assign   a   function   key  to  the  macro
  6714.           \SC[tcomm;DownLoad] .    Another  use might be to  set  macro  #9
  6715.           (Start-Up  macro) or macro #10 (Conclude  macro)  to  have  BOYAN
  6716.           automatically run a STARTUP.BSC or CONCLUDE.BSC script  each time
  6717.           it  starts  or  concludes.   You can also invoke  a  script  file
  6718.           directly from the DOS command line, as described above in section
  6719.           5.4.
  6720.  
  6721.  
  6722.  
  6723.    5.5.4:  BOYAN Power--Macros and Script Files                         114
  6724.    ________________________________________________________________________
  6725.  
  6726.  
  6727.  
  6728.  
  6729.    5.5.4  During Script Execution
  6730.  
  6731.    Once  a script file takes control, the  BOYAN v5  message in the  middle
  6732.    of the status line disappears, and  the  script file name flashes in its
  6733.    place.  When this happens, BOYAN is "unattended" and its normal terminal
  6734.    mode commands are disabled.  To regain control before  the  script  file
  6735.    finishes, you must press the <Esc> key.
  6736.  
  6737.    The <Tab> key also has a  special  function during script execution.  If
  6738.    you press <Tab>, the script stops whatever task it is  in  the middle of
  6739.    and jumps to  the  block  labelled  *TAB.    It  is as if pressing <Tab>
  6740.    inserts the command \GB[*TAB] into the middle of your script.   The Host
  6741.    Mode  script  uses  this feature to make the Sysop Menu available at all
  6742.    times.
  6743.  
  6744.    Another special script block is the *WRAPUP block.   Whenever  a  script
  6745.    finishes, either normally or by <Esc>, BOYAN searches for and executes a
  6746.    block in that script  named  *WRAPUP.  Consult HOST.BSC and ETCH.BSC for
  6747.    examples of how to use *WRAPUP.
  6748.  
  6749.    5.5.5  Script Examples
  6750.  
  6751.    Several  sample  script  files are included on  the  BOYAN  Distribution
  6752.    Diskettes.  These scripts are well-commented, so by  studying  them, you
  6753.    can learn a lot about writing your own scripts.
  6754.  
  6755.     - CIS.BSC  is a simple script file for logging  on  to  the  CompuServe
  6756.       Information Service.  You must use a text editor to include  your own
  6757.       CompuServe ID in the script file.
  6758.  
  6759.     - ETCH.BSC demonstrates macro screen  control  by  turning BOYAN into a
  6760.       computer etch-a-sketch!  After invoking this script (with the <Alt-R>
  6761.       command), use the I,J,K, and M keys to "draw" on  the  screen.  Press
  6762.       <Esc> to exit the script.
  6763.  
  6764.     - HOST.BSC contains the complete BOYAN Host Mode.  This script  is very
  6765.       complex,  using  extensive  branching,  file transfers, DOS commands,
  6766.       macro arithmetic, and  BOYAN  Auto-macros.  Section 4.8 describes how
  6767.       to use the Host Mode.
  6768.  
  6769.     - PCBOARD.BSC is a simple logon script file for the  PC-Board  type  of
  6770.       Bulletin Board System.  It expects that macro #72 (the <F2> keystroke
  6771.       macro) contains your full name +  the  { symbol.  By configuring this
  6772.       keystroke macro and entering your password into the Dialing Directory
  6773.       entry, you do away with the need to edit the PCBOARD.BSC file.
  6774.  
  6775.  
  6776.  
  6777.    5.5.5:  BOYAN Power--Macros and Script Files                         115
  6778.    ________________________________________________________________________
  6779.  
  6780.  
  6781.  
  6782.  
  6783.     - TCOMM.BSC  is  a  logon script file for TComm Bulletin Board Systems.
  6784.       It also expects your name + { to be stored in macro #72.  This script
  6785.       demonstrates  a  very  flexible  method  for  responding  to  prompts
  6786.       regardless of the order in which they arrive.
  6787.  
  6788.     - VARS.BSC displays the 36 user variables in two full-screen displays.
  6789.  
  6790.    BOYAN's Trace Mode  (section  5.2.17)  is  a terrific aid in following a
  6791.    script as it runs.  Many other script files written  by  BOYAN users are
  6792.    available for downloading from the BOYAN Support BBS.
  6793.  
  6794.    5.5.6  Technical Notes
  6795.  
  6796.    5.5.6.1  The Macro Compiler
  6797.  
  6798.    Macros are automatically compiled as they are run; there is  no separate
  6799.    compiling stage.
  6800.  
  6801.    When  interpreting  text  enclosed  in  brackets, the compiler  makes  a
  6802.    distinction depending on whether the text is a [string] or a [macro]:
  6803.  
  6804.     - In a string, the first unquoted right bracket always denotes  the end
  6805.       of the string; in order to  include  a right bracket inside a string,
  6806.       you must precede the bracket with a quotation mark.  For  example, to
  6807.       make BOYAN WaitFor the "Press  [Enter] to continue" message, you must
  6808.       write:
  6809.  
  6810.            \WF[Press [Enter"] to continue]
  6811.  
  6812.       As  a string is compiled, all macro variables  contained  in  it  are
  6813.       expanded.
  6814.  
  6815.     - However, in commands which  have  a [macro] in their syntax (the \RE,
  6816.       \UN, \UT, and all conditional commands),  the  compiler automatically
  6817.       matches  internal brackets.  For example, to  REpeat  (5  times)  the
  6818.       command \RX[1] \RY[1], you would simply write,
  6819.  
  6820.            \RE5[\RX[1] \RY[1]]
  6821.  
  6822.       without  having  to  quote  the  brackets inside.  Variables are  not
  6823.       expanded inside macros; for example, the macro
  6824.  
  6825.            \UT`12:00[\DM[%HR:%MI:%SE]]
  6826.  
  6827.       displays a running clock  on  the screen until noon, rather than just
  6828.       displaying  whatever  the  time  was  when you first invoked the  \UT
  6829.       command.
  6830.  
  6831.  
  6832.  
  6833.    5.5.6.1:  BOYAN Power--Macros and Script Files                       116
  6834.    ________________________________________________________________________
  6835.  
  6836.  
  6837.  
  6838.  
  6839.    The macro processor ignores spaces and tabs between macro commands.   If
  6840.    you actually want to send a number of spaces to the modem, add a "dummy"
  6841.    backquote following those spaces, as in
  6842.  
  6843.         here come five spaces     `
  6844.  
  6845.    Alternatives are to precede each space with a quotation mark, or  to use
  6846.    the macro \CH[32].
  6847.  
  6848.    5.5.6.2  Variable Prefixes: % vs. @
  6849.  
  6850.    BOYAN  Macro  Variables may be referred to with either the %  or  the  @
  6851.    prefix.    When  a variable is specified by %, then  any  special  macro
  6852.    command characters (such as ^ % @ \ ` ,  etc.)  are automatically quoted
  6853.    with ".  When specified by @, no extra quoting is done.
  6854.  
  6855.    For example, assume that variable V0 holds the string D:\UL.  If a macro
  6856.    referred to  that  variable  as  %V0,  BOYAN  would add a quotation mark
  6857.    before the \, as it does before every special character.    As a result,
  6858.    BOYAN would  send  the  literal  string D:\UL to the modem.  It does not
  6859.    treat \UL like a macro command, but rather like a bunch of characters.
  6860.  
  6861.    Now, change the % to  a @, making the variable @V0.  In this case, BOYAN
  6862.    does not add  a  quotation mark before the \.  It would send the D and :
  6863.    over  the  modem  and report a syntax error on the  \UL  macro  command.
  6864.    Thus, one use  for the @ variable prefix is to execute the contents of a
  6865.    variable as if they made  up  a  BOYAN  macro.   This is why the Dialing
  6866.    Command refers to the System Fon number as @SF rather than  %SF--so that
  6867.    Shortcut  macros,  etc.  may be used within the phone number.  A similar
  6868.    application of the @ prefix can be seen in the <Alt-M> macro.
  6869.  
  6870.    Another use  of  the  @  prefix is to force the evaluation of a variable
  6871.    which is used within another variable.  For example, suppose at  1:15 pm
  6872.    you set V1 and V2 as follows:
  6873.  
  6874.    \SV1[Time is %HR:%MI]
  6875.                         (This sets V1 = Time is 13:15.)
  6876.    \SV2[Time is "%HR:"%MI]
  6877.                         (This sets V2 = Time is %HR:%MI.)
  6878.  
  6879.    If you displayed these variables on the monitor five minutes  later, you
  6880.    would get the following results:
  6881.  
  6882.    \DM[%V1]             displays, Time is 13:15
  6883.    \DM[@V1]             displays, Time is 13:15
  6884.    \DM[%V2]             displays, Time is %HR:%MI
  6885.    \DM[@V2]             displays, Time is 13:20
  6886.  
  6887.  
  6888.  
  6889.    5.6:  BOYAN Power--Macros and Script Files                           117
  6890.    ________________________________________________________________________
  6891.  
  6892.  
  6893.  
  6894.  
  6895.    The  automatic  quoting  done in interpreting  %V2  means  that  %HR  is
  6896.    displayed, not evaluated.  In  contrast, @V2 substitutes the contents of
  6897.    V2 directly into the \DM[..] command, so %HR and %MI are evaluated.
  6898.  
  6899.  
  6900.    5.6  Summary of Macro Variables
  6901.  
  6902.  
  6903.    %AM          The menu letter corresponding to the current Action Module
  6904.  
  6905.    %AN          The full Name of the current Action module
  6906.  
  6907.    %AP          The menu letter corresponding to the Previous Action module
  6908.  
  6909.    %AU          current state of AUto-downloading, "ON" or "OFF"
  6910.  
  6911.    %B:          The complete path of the BOYAN directory
  6912.  
  6913.    %B8          "ON"  when  eighth  Bit  allowed,  "OFF"  when  eighth  Bit
  6914.                 stripped
  6915.  
  6916.    %BB          current Beeps and Bells setting, "ON" or "OFF"
  6917.  
  6918.    %BD          "ON" when Backspace key  sends  DEL,  "OFF"  when backspace
  6919.                 sends BS
  6920.  
  6921.    %BU          "ON" when 16550AN UART  FIFO  buffering  is  enabled, "OFF"
  6922.                 when disabled
  6923.  
  6924.    %C:          The complete path of the Current directory
  6925.  
  6926.    %D:          The complete path of the default Download directory
  6927.  
  6928.    %DA          The current DAy of the month (01,02,..31)
  6929.  
  6930.    %DM          The current color used for Displaying macro Messages
  6931.  
  6932.    %DN          The Name of the screen Dump file
  6933.  
  6934.    %DP          The Default Protocol
  6935.  
  6936.    %DR          The letter corresponding to the currently-logged DRive
  6937.  
  6938.    %DS          The amount of memory (in K) available for DOS Shells
  6939.  
  6940.    %EC          Current ECho keyboard setting, "ON" or "OFF"
  6941.  
  6942.    %F:          The  complete  path  where  BOYAN  expects  to   find  .FON
  6943.                 Directories
  6944.  
  6945.  
  6946.  
  6947.    5.6:  BOYAN Power--Macros and Script Files                           118
  6948.    ________________________________________________________________________
  6949.  
  6950.  
  6951.  
  6952.  
  6953.    %FD          The name of the current .FON Directory
  6954.  
  6955.    %GL          The number of Grabbed screen Lines (25, 43, or 50)
  6956.  
  6957.    %HR          The current HouR (00,01,..23)
  6958.  
  6959.    %II          The  position  of  string1  as  a   substring   of  string2
  6960.                 determined by the last \II macro
  6961.  
  6962.    %IK          The last Input Key typed at the keyboard
  6963.  
  6964.    %IM          %II Minus one
  6965.  
  6966.    %LC          The List Command (DOS command to list a file)
  6967.  
  6968.    %LD          "ON" if currently Logging  to  Disk,  "OFF"  if no log file
  6969.                 open
  6970.  
  6971.    %LF          "ON" if LineFeeds are being added to CR's, "OFF" if not
  6972.  
  6973.    %LN          The Name of the most recently-selected Log file
  6974.  
  6975.    %LV          The Length  of the Variable most recently accessed with the
  6976.                 \LV command
  6977.  
  6978.    %MA          The current Modem port Address, in hexadecimal (without the
  6979.                 $ sign)
  6980.  
  6981.    %MC          The current Menu Color (1..127)
  6982.  
  6983.    %MD          The number of the current Modem Device (1..4)
  6984.  
  6985.    %MI          The current MInute (00,01,..59)
  6986.  
  6987.    %MM          Maximum Modem speed as entered in Config Area <C>
  6988.  
  6989.    %MN          The current Modem iNterrupt IRQ line (2..5)
  6990.  
  6991.    %MO          The current MOnth (01,02,..12)
  6992.  
  6993.    %MP          The letter corresponding to the current Modem Parity (N, E,
  6994.                 or O)
  6995.  
  6996.    %MS          The current Modem Speed (300..38400)
  6997.  
  6998.    %NC          The current Normal text Color (1..127)
  6999.  
  7000.    %NK          Current Numlock setting, "ON" or "OFF"
  7001.  
  7002.  
  7003.  
  7004.    5.6:  BOYAN Power--Macros and Script Files                           119
  7005.    ________________________________________________________________________
  7006.  
  7007.  
  7008.  
  7009.  
  7010.    %P:          The complete path of the external Protocol directory
  7011.  
  7012.    %PR          Current PRinter log setting, "ON" or "OFF"
  7013.  
  7014.    %PW          Your PassWord for the currently online system
  7015.  
  7016.    %QS          The Queue  Size  (number  of  entries  in  redialing queue,
  7017.                 0..20)
  7018.  
  7019.    %RE          The counter number  of  the  innermost  \RE  (REpeat) macro
  7020.                 command
  7021.  
  7022.    %S:          The complete path of the Script file directory
  7023.  
  7024.    %S#          The phone directory code  number  of  the  currently online
  7025.                 System (1..200, or 0 if dialed manually or not online)
  7026.  
  7027.    %SC          The name of the current SCript file running (or last script
  7028.                 file run)
  7029.  
  7030.    %SE          The current SEcond (0..59)
  7031.  
  7032.    %SF          The phone number of the currently online System
  7033.  
  7034.    %SK          The Secondary Keyset (scroll lock) setting, "ON" or "OFF"
  7035.  
  7036.    %SL          The  Length  of  time since the last connection to a remote
  7037.                 System
  7038.  
  7039.    %SN          The Name of the currently  online  System  (or  "Manual" if
  7040.                 dialed manually)
  7041.  
  7042.    %SS          The  name  of  the logon Script file  (not  including  .BSC
  7043.                 suffix) of the currently online System
  7044.  
  7045.    %T:          The complete path of the most recent file Transfer
  7046.  
  7047.    %TF          The name of the most recent File selected to be Transferred
  7048.  
  7049.    %TI          A string  with  Transfer  time  Information,  suitable  for
  7050.                 including in BOYAN.USE usage log
  7051.  
  7052.    %TR          Current TRace mode setting, "ON" or "OFF"
  7053.  
  7054.    %TT          Current Translation Table setting, "ON" or "OFF"
  7055.  
  7056.    %U:          The complete path of the default Upload directory
  7057.  
  7058.  
  7059.  
  7060.    5.6:  BOYAN Power--Macros and Script Files                           120
  7061.    ________________________________________________________________________
  7062.  
  7063.  
  7064.  
  7065.  
  7066.    %UD          This variable equals "UL" if  the last file transfer was an
  7067.                 upload, or "DL" if the last file transfer was a download
  7068.  
  7069.    %UF          Current Usage File log status ("ON" or "OFF")
  7070.  
  7071.    %UN          The Name of the current Usage file
  7072.  
  7073.    %V0          Macro variable #0
  7074.  
  7075.    %V1          Macro variable #1
  7076.  
  7077.    %V2          Macro variable #2
  7078.  
  7079.    . . .
  7080.  
  7081.    %V8          Macro variable #8
  7082.  
  7083.    %V9          Macro variable #9
  7084.  
  7085.    %VA          Macro variable A
  7086.  
  7087.    %VB          Macro variable B
  7088.  
  7089.    . . .
  7090.  
  7091.    %VY          Macro variable Y
  7092.  
  7093.    %VZ          Macro variable Z
  7094.  
  7095.    %WC          The Word processor Command (DOS command to edit a file)
  7096.  
  7097.    %XP          The current X-position of the cursor (1..80)
  7098.  
  7099.    %YP          The current Y-position of the cursor (1..49)
  7100.  
  7101.    %YR          The current year (91,92,..)
  7102.  
  7103.  
  7104.    5.7  Summary of Macro Commands
  7105.  
  7106.  
  7107.    \\                   signifies that the  rest  of the line is a comment,
  7108.                         not to be processed as a macro
  7109.  
  7110.    ^c                   send control character to modem
  7111.  
  7112.    {                    send <Return> character to modem (same as ^M)
  7113.  
  7114.    ~                    pause one-half second
  7115.  
  7116.  
  7117.  
  7118.    5.7:  BOYAN Power--Macros and Script Files                           121
  7119.    ________________________________________________________________________
  7120.  
  7121.  
  7122.  
  7123.  
  7124.    \!                   Invoke Shortcut macro #111
  7125.  
  7126.    \@                   Invoke Shortcut macro #112
  7127.  
  7128.    \#                   Invoke Shortcut macro #113
  7129.  
  7130.    \$                   Invoke Shortcut macro #114
  7131.  
  7132.    \%                   Invoke Shortcut macro #115
  7133.  
  7134.    \^                   Invoke Shortcut macro #116
  7135.  
  7136.    \&                   Invoke Shortcut macro #117
  7137.  
  7138.    \*                   Invoke Shortcut macro #118
  7139.  
  7140.    \(                   Invoke Shortcut macro #119
  7141.  
  7142.    \)                   Invoke Shortcut macro #120
  7143.  
  7144.    \AB                  ABort current macro or script file
  7145.  
  7146.    \AD+                 Turn on Auto-Detection of modem connect speed
  7147.  
  7148.    \AD-                 Turn off Auto-Detection of modem connect speed
  7149.  
  7150.    \AD*                 Toggle between \AD+ and \AD-
  7151.  
  7152.    \AFfilename[string]  Append string to the  end  of  specified  text File
  7153.                         (creating file if not found)
  7154.  
  7155.    \ALx[]               Sound ALarm x (1,2,or 3) until a key is pressed
  7156.  
  7157.    \ALx[0]              Sound ALarm x (1,2,or 3) just once
  7158.  
  7159.    \ALx[y]              Repeatedly sound ALarm x (1,2,or 3) for y seconds
  7160.  
  7161.    \AM[]                Select a new BOYAN Action Module from a menu
  7162.  
  7163.    \AM[c]               Activate  the BOYAN Action Module corresponding  to
  7164.                         the character c
  7165.  
  7166.    \AT+[macro]          Do macro  if  BOYAN  is  ATtended  (no  script file
  7167.                         running)
  7168.  
  7169.    \AT-[macro]          Do macro if  BOYAN  is  not  ATtended  (script file
  7170.                         running)
  7171.  
  7172.    \AU+                 Turn AUto-downloading on
  7173.  
  7174.  
  7175.  
  7176.    5.7:  BOYAN Power--Macros and Script Files                           122
  7177.    ________________________________________________________________________
  7178.  
  7179.  
  7180.  
  7181.  
  7182.    \AU-                 Turn AUto-downloading off
  7183.  
  7184.    \AU*                 Toggle AUto-downloading
  7185.  
  7186.    \AV[x]               Set Alarm Volume to x (0..10, 10 highest)
  7187.  
  7188.    \B8+                 Accept Bit 8 of incoming characters (no stripping)
  7189.  
  7190.    \B8-                 Strip Bit 8 from incoming characters
  7191.  
  7192.    \B8*                 Toggle between \B8+ and \B8-
  7193.  
  7194.    \BB+                 Turn Beeps & Bells on
  7195.  
  7196.    \BB-                 Turn Beeps & Bells off
  7197.  
  7198.    \BB*                 Toggle Beeps & Bells
  7199.  
  7200.    \BC                  Back over Character, but do not put  character into
  7201.                         backspace buffer
  7202.  
  7203.    \BD+                 Swap the Backspace and DEL keys
  7204.  
  7205.    \BD-                 "Unswap" the Backspace and DEL keys
  7206.  
  7207.    \BD*                 Toggle between \BD+ and \BD-
  7208.  
  7209.    \BL[label]           Script  file  --  call  the  labelled  BLock  as  a
  7210.                         subroutine
  7211.  
  7212.    \BU+                 Enable BUffering on the 16550AN UART
  7213.  
  7214.    \BU-                 Disable BUffering on the 16550AN UART
  7215.  
  7216.    \BU*                 Toggle between \BU+ and \BU-
  7217.  
  7218.    \BW+                 Back  over Word,  putting  erased  characters  into
  7219.                         backspace buffer
  7220.  
  7221.    \BW-                 Back  over Word, without putting erased  characters
  7222.                         into backspace buffer
  7223.  
  7224.    \CA+[macro]          Do macro only if there is a CArrier signal (online)
  7225.  
  7226.    \CA-[macro]          Do  macro  only  if  there  is  no  CArrier  signal
  7227.                         (offline)
  7228.  
  7229.    \CB[]                Configure BOYAN, main configuration menu
  7230.  
  7231.  
  7232.  
  7233.    5.7:  BOYAN Power--Macros and Script Files                           123
  7234.    ________________________________________________________________________
  7235.  
  7236.  
  7237.  
  7238.  
  7239.    \CB[c]               Configure BOYAN, go directly to Config Area [c]
  7240.  
  7241.    \CC+                 Do  Check  for  Carrier  signal before dialing, and
  7242.                         prompt user to verify "dialing despite carrier"
  7243.  
  7244.    \CC-                 Do not Check for Carrier signal before dialing, and
  7245.                         dial right away
  7246.  
  7247.    \CC*                 Toggle between \CC+ and \CC-
  7248.  
  7249.    \CD[x]               Change Device to 1,2,3,or 4 (Comm port #)
  7250.  
  7251.    \CF+                 Check Free disk space before downloads and  in file
  7252.                         manager
  7253.  
  7254.    \CF-                 Do not Check Free disk space  before  downloads and
  7255.                         in file manager
  7256.  
  7257.    \CF*                 Toggle between \CF+ and \CF-
  7258.  
  7259.    \CH[x]               Send the ASCII CHaracter with code x  (0..255) over
  7260.                         the modem
  7261.  
  7262.    \CM                  Change Menu  --  for  changing  device,  speed,  or
  7263.                         parity
  7264.  
  7265.    \CO[x]               Set the COnnect wait time to x seconds (0..99)
  7266.  
  7267.    \CP[c]               Change Parity to [N]one, [E]ven, or [O]dd.
  7268.  
  7269.    \CS[x]               Change Speed to 300, 1200, 2400, 4800, 9600, 19200,
  7270.                         or 38400.
  7271.  
  7272.    \CT+                 Turn CTS/RTS flow control on
  7273.  
  7274.    \CT-                 Turn CTS/RTS flow control off
  7275.  
  7276.    \CT*                 Toggle CTS/RTS flow control
  7277.  
  7278.    \DC[string]          Execute string as a Dos  Command,  prompting  for a
  7279.                         user keypress if not inside a script file
  7280.  
  7281.    \DC+[string]         Execute  string  as a Dos  Command,  prompting  for
  7282.                         keypress afterward
  7283.  
  7284.    \DC-[string]         Execute string  as a Dos Command, but do not prompt
  7285.                         for a keypress afterward
  7286.  
  7287.    \DD+                 Do Drop the DTR signal when you exit from BOYAN
  7288.  
  7289.  
  7290.  
  7291.    5.7:  BOYAN Power--Macros and Script Files                           124
  7292.    ________________________________________________________________________
  7293.  
  7294.  
  7295.  
  7296.  
  7297.    \DD-                 Do not Drop the DTR signal when you exit from BOYAN
  7298.  
  7299.    \DD*                 Toggle between \DD+ and \DD-
  7300.  
  7301.    \DI[]                Invoke BOYAN DIaling Directory
  7302.  
  7303.    \DI[x]               DIal  entry  #  x  (1..200)  from  current  dialing
  7304.                         directory
  7305.  
  7306.    \DI[string]          DIal  the first dialing directory entry whose  name
  7307.                         contains string
  7308.  
  7309.    \DI[###-####]        Manually DIal the phone number specified
  7310.  
  7311.    \DL[]                Download file, prompting for protocol and filename
  7312.  
  7313.    \DL-[]               Download file immediately  using  default protocol,
  7314.                         bypassing all prompts
  7315.  
  7316.    \DLc[]               Download file using protocol c
  7317.  
  7318.    \DLc-[]              Download   file   immediately   using  protocol  c,
  7319.                         bypassing all prompts
  7320.  
  7321.    \DL[filename]        Download  specified  file using  default  protocol,
  7322.                         prompting for confirmation
  7323.  
  7324.    \DL-[filename]       Download specified file, bypassing all prompts
  7325.  
  7326.    \DLc[filename]       Download specified file using protocol c, prompting
  7327.                         for confirmation
  7328.  
  7329.    \DLc-[filename]      Download specified file using protocol c, bypassing
  7330.                         all prompts
  7331.  
  7332.    \DMC[x]              Set Display Message Color to  x  (1..255).   Colors
  7333.                         above 128 are flashing.
  7334.  
  7335.    \DM[string]          Display Message string flushed right one line above
  7336.                         current line
  7337.  
  7338.    \DMy[string]         Display  Message  string flushed right  on  line  y
  7339.                         (1..49) of screen
  7340.  
  7341.    \DMx,[string]        Display Message string at column x, one  line above
  7342.                         current line
  7343.  
  7344.    \DMx,y[string]       Display  Message  string  at  position x (1..80), y
  7345.                         (1..49)
  7346.  
  7347.  
  7348.  
  7349.    5.7:  BOYAN Power--Macros and Script Files                           125
  7350.    ________________________________________________________________________
  7351.  
  7352.  
  7353.  
  7354.  
  7355.    \DP[c]               Set Default Protocol for file transfers to c
  7356.  
  7357.    \DT+                 Turn modem DTR signal ON
  7358.  
  7359.    \DT-                 Turn modem DTR signal OFF
  7360.  
  7361.    \DT*                 Toggle modem DTR signal
  7362.  
  7363.    \DVc[x]              Delete the  first  x  characters  from  variable  c
  7364.                         (0..9,A..Z)
  7365.  
  7366.    \EB                  End current Block of script file
  7367.  
  7368.    \EC+                 Do ECho keyboard locally
  7369.  
  7370.    \EC-                 Do not ECho keyboard locally
  7371.  
  7372.    \EC*                 Toggle between \EC+ and \EC-
  7373.  
  7374.    \EM                  End the current  Macro  (advance  to  next  line of
  7375.                         script)
  7376.  
  7377.    \EX                  EXit  BOYAN  immediately.  (Be  careful  with  this
  7378.                         one!)
  7379.  
  7380.    \FC                  Forward Character  --  send  most  recent character
  7381.                         saved in Backspace buffer
  7382.  
  7383.    \FD[filename]        Load filename as the new .FON Dialing Directory.
  7384.  
  7385.    \FE+filename[macro]  Do macro only if filename exists
  7386.  
  7387.    \FE-filename[macro]  Do macro only if filename does not exist
  7388.  
  7389.    \FM[filename]        Invoke BOYAN's File Manager.    Filename  can  be a
  7390.                         complete drive, path, and file  specification (with
  7391.                         wildcards).
  7392.  
  7393.    \FMc[filename]       Invoke File Manager as above, but make  <Enter> the
  7394.                         same as selecting option c
  7395.  
  7396.    \FMstring[filename]  Invoke  File  Manager as above,  but  make  <Enter>
  7397.                         apply  the  DOS  command  string  to  the  selected
  7398.                         file(s)
  7399.  
  7400.    \FS[c]               Show Free Space on specified disk drive
  7401.  
  7402.    \FW                  Forward  Word --  send  characters  from  Backspace
  7403.                         buffer until reaching a space
  7404.  
  7405.  
  7406.  
  7407.    5.7:  BOYAN Power--Macros and Script Files                           126
  7408.    ________________________________________________________________________
  7409.  
  7410.  
  7411.  
  7412.  
  7413.    \GB[label]           Go  to  Block specified by  label  (within  current
  7414.                         script)
  7415.  
  7416.    \GL+                 Grab screen  Lines ON (43 with EGA monitor, 50 with
  7417.                         VGA)
  7418.  
  7419.    \GL-                 Grab screen Lines OFF (return to 25-line screen)
  7420.  
  7421.    \GL*                 Toggle between \GL+ and \GL-
  7422.  
  7423.    \GS[filename]        Go to Script filename (.BSC extension optional)
  7424.  
  7425.    \GS[filename;label]  Go to Script filename, block label
  7426.  
  7427.    \GVc[]               Close the text file read by \GVc[filename]
  7428.  
  7429.    \GVc[filename]       Get  next  line   from  specified  text  file  into
  7430.                         variable c
  7431.  
  7432.    \GX[x]               Go to X position x (1..80)
  7433.  
  7434.    \GY[y]               Go to Y position y (1..49)
  7435.  
  7436.    \HE                  Call up  HElp  screen  (from  "Communication Ready"
  7437.                         screen only)
  7438.  
  7439.    \HK                  Call up Help on function Key descriptions
  7440.  
  7441.    \HU                  Hang up modem
  7442.  
  7443.    \IE+str1,str2[macro] Do macro only If str1 Equals str2 (upper/lower case
  7444.                         not significant)
  7445.  
  7446.    \IE-str1,str2[macro] Do macro only If str1 does not Equal str2
  7447.  
  7448.    \IF+string[macro]    Do macro only If string Found on current line or on
  7449.                         line above
  7450.  
  7451.    \IF-string[macro]    Do macro only  If  string not Found on current line
  7452.                         or on line above
  7453.  
  7454.    \II+string1,string2[macro]
  7455.                         Do macro only If  string1  is  found as a substring
  7456.                         Inside string2
  7457.  
  7458.    \II-string1,string2[macro]
  7459.                         Do  macro  only  If  string1  is  not  found  as  a
  7460.                         substring Inside string2
  7461.  
  7462.  
  7463.  
  7464.    5.7:  BOYAN Power--Macros and Script Files                           127
  7465.    ________________________________________________________________________
  7466.  
  7467.  
  7468.  
  7469.  
  7470.    \IK+[macro]          Do macro only If a Key has been pressed
  7471.  
  7472.    \IK-[macro]          Do macro only If no Key has been pressed
  7473.  
  7474.    \IP+c[macro]         Do macro only If Protocol c is available
  7475.  
  7476.    \IP-c[macro]         Do macro only If Protocol c is not available
  7477.  
  7478.    \IS+x,y,...,z[macro] Do macro  only  If  the  current  System  number is
  7479.                         x,y,..., or z
  7480.  
  7481.    \IS-x,y,...,z[macro] Do macro only  If  the current System number is not
  7482.                         x,y,..., or z
  7483.  
  7484.    \IT+[macro]          Do macro only  If  most  recent  file  Transfer was
  7485.                         successful
  7486.  
  7487.    \IT-[macro]          Do macro only  If  most  recent  file  Transfer was
  7488.                         unsuccessful
  7489.  
  7490.    \IVc+string[macro]   Do  macro  only if variable  c  (0..9,A..Z)  equals
  7491.                         string (upper/lower case not significant)
  7492.  
  7493.    \IVc-string[macro]   Do macro only if variable  c  (0..9,A..Z)  does not
  7494.                         equal string
  7495.  
  7496.    \IW+[macro]          Do macro only If  last  "WF"  or  other handshaking
  7497.                         command was successful
  7498.  
  7499.    \IW-[macro]          Do macro only If  last  "WF"  or  other handshaking
  7500.                         command was unsuccessful
  7501.  
  7502.    \JD                  Jump to DOS.  Requires  user to type EXIT to return
  7503.                         to BOYAN.
  7504.  
  7505.    \KO[x]               Set unattended Keyboard timeOut to x seconds
  7506.  
  7507.    \KS                  Keep Screen contents in  internal  buffer  and stop
  7508.                         displaying incoming data from the modem, until \RS
  7509.  
  7510.    \KVc[string]         Read variable x (0..9,A..Z) from keyboard, prompted
  7511.                         by string
  7512.  
  7513.    \KVcstring1[string2] Read variable c (0..9,A..Z) from keyboard, prompted
  7514.                         by string2 and using string1 as a default
  7515.  
  7516.    \LD+                 Log to Disk (using default Log File name)
  7517.  
  7518.    \LD+[filename]       Log to Disk using specified filename
  7519.  
  7520.  
  7521.  
  7522.    5.7:  BOYAN Power--Macros and Script Files                           128
  7523.    ________________________________________________________________________
  7524.  
  7525.  
  7526.  
  7527.  
  7528.    \LD-                 Turn off logging to disk
  7529.  
  7530.    \LD*                 Toggle between \LD+ and \LD-
  7531.  
  7532.    \LD*[filename]       Toggle between \LD+[filename] and \LD-
  7533.  
  7534.    \LF+                 Add LineFeeds to carriage returns
  7535.  
  7536.    \LF-                 Do not add LineFeeds to carriage returns
  7537.  
  7538.    \LF*                 Toggle between \LF+ and \LF-
  7539.  
  7540.    \LM[string]          Log Message -- insert string into current log file
  7541.  
  7542.    \LVc[]               Store the Length of Variable c (0..9,A..Z) in %LV
  7543.  
  7544.    \LVc[x]              Set the Length  of  Variable  c  (0..9,A..Z)  to be
  7545.                         exactly x (0..80) characters
  7546.  
  7547.    \MA[x]               Do BOYAN MAcro number x (1..120)
  7548.  
  7549.    \MC[x]               Set Menu Color to x (1..127)
  7550.  
  7551.    \MVc[y]              Set Variable c (0..9,A..z) to the contents of Macro
  7552.                         y (1..120)
  7553.  
  7554.    \NC[x]               Set Normal text Color to x (1..127)
  7555.  
  7556.    \ND[string]          New Drive/Directory
  7557.  
  7558.    \NK+                 Turn Numlock ON
  7559.  
  7560.    \NK-                 Turn Numlock OFF
  7561.  
  7562.    \NK*                 Toggle Numlock
  7563.  
  7564.    \PA[x]               Pause for x (1..32767) seconds
  7565.  
  7566.    \PL                  Purge line (discard receive buffer)
  7567.  
  7568.    \PM[string]          Print message string on printer
  7569.  
  7570.    \PP[x]               Select printer port x (1..4)
  7571.  
  7572.    \PR+                 Turn printer logging on
  7573.  
  7574.    \PR-                 Turn printer logging off
  7575.  
  7576.    \PR*                 Toggle printer logging
  7577.  
  7578.  
  7579.  
  7580.    5.7:  BOYAN Power--Macros and Script Files                           129
  7581.    ________________________________________________________________________
  7582.  
  7583.  
  7584.  
  7585.  
  7586.    \PS                  Print Screen
  7587.  
  7588.    \PU[xx:yy]           Pause Until specified time (use 24-hour notation)
  7589.  
  7590.    \QA[x]               Add entry # x (1..200) to the redialing Queue
  7591.  
  7592.    \QA[###-####]        Add  the  specified  phone  number to the redialing
  7593.                         Queue
  7594.  
  7595.    \QA[string]          Add the first dialing  directory  entry  whose name
  7596.                         contains string to the redialing Queue
  7597.  
  7598.    \QA+[string]         Add  every  dialing  directory  entry   whose  name
  7599.                         contains string to the redialing Queue
  7600.  
  7601.    \QA-[x]              Delete entry # x (1..200) from the Queue
  7602.  
  7603.    \QA-[string]         Delete  from  the  Queue  every  entry  whose  name
  7604.                         contains string
  7605.  
  7606.    \QC                  Queue Clear -- wipe out the redialing queue
  7607.  
  7608.    \QD                  Queue Dial -- redial  from  queue  until connection
  7609.                         made
  7610.  
  7611.    \QE                  Queue -- enter interactive redialing queue
  7612.  
  7613.    \QU[xx:yy]           Queue  Until -- redial from queue until  connecting
  7614.                         or time elapses
  7615.  
  7616.    \RB                  Review Buffer -- enter scroll-back buffer
  7617.  
  7618.    \RC                  Restore configured normal text Color
  7619.  
  7620.    \RE[macro]           REpeat macro indefinitely
  7621.  
  7622.    \REx[macro]          REpeat macro, x (1..32767) times
  7623.  
  7624.    \RS                  Restore screen  and  re-enable  displaying  of text
  7625.                         from modem (after \KS)
  7626.  
  7627.    \RVc[y]              Read Variable c (0..9,A..Z)  as  input  from modem,
  7628.                         with a  maximum  length  of  y  (1..80)  characters
  7629.                         before carriage return
  7630.  
  7631.    \RVc*[y]             Read  Variable  c (0..9,A..Z) as  above,  but  echo
  7632.                         asterisks instead of the actual characters read
  7633.  
  7634.  
  7635.  
  7636.    5.7:  BOYAN Power--Macros and Script Files                           130
  7637.    ________________________________________________________________________
  7638.  
  7639.  
  7640.  
  7641.  
  7642.    \RVc-[y]             Read  Variable  c (0..9,A..Z) as  above,  but  echo
  7643.                         nothing back to the modem
  7644.  
  7645.    \RVc+[y]             Read  Variable  c  (0..9,A..Z)  as above, with word
  7646.                         wrap
  7647.  
  7648.    \RX[-x]              Relative  X-position; move cursor x columns to  the
  7649.                         left
  7650.  
  7651.    \RX[x]               Relative  X-position; move cursor x columns to  the
  7652.                         right
  7653.  
  7654.    \RY[-y]              Relative Y-position; move cursor y rows up
  7655.  
  7656.    \RY[y]               Relative Y-position; move cursor y rows down
  7657.  
  7658.    \SB                  Send modem Break signal
  7659.  
  7660.    \SC[filename]        Invoke   script   (.BSC  extension   optional)   as
  7661.                         subroutine
  7662.  
  7663.    \SC[filename;label]  Invoke specified  block  from  specified  script as
  7664.                         subroutine
  7665.  
  7666.    \SK+                 Select Secondary Keyset (turn scroll lock ON)
  7667.  
  7668.    \SK-                 Deselect Secondary Keyset (turn scroll lock OFF)
  7669.  
  7670.    \SK*                 Toggle Secondary Keyset (toggle scroll lock)
  7671.  
  7672.    \SL[x]               Set Line pacing to x (0..255) milliseconds
  7673.  
  7674.    \SMx[string]         Set BOYAN Macro x (1..120) to string
  7675.  
  7676.    \SN[string]          Display string on right side of status  line (where
  7677.                         the System Name is usually displayed)
  7678.  
  7679.    \SP[x]               Set character Pacing to x (0..255) milliseconds
  7680.  
  7681.    \SS                  Save current Screen image to the screen dump file
  7682.  
  7683.    \ST[string]          Display string on STatus line
  7684.  
  7685.    \SVc[string]         Set variable c (0..9,A..Z) to string
  7686.  
  7687.    \TMx[string]         Set secondary/Terminal keyset Macro x  (41..110) to
  7688.                         string
  7689.  
  7690.    \TO[x]               Set handshake TimeOut to x (0..255) seconds
  7691.  
  7692.  
  7693.  
  7694.    5.7:  BOYAN Power--Macros and Script Files                           131
  7695.    ________________________________________________________________________
  7696.  
  7697.  
  7698.  
  7699.  
  7700.    \TR+                 Turn on TRace mode
  7701.  
  7702.    \TR-                 Turn off TRace mode
  7703.  
  7704.    \TR*                 Toggle TRace mode
  7705.  
  7706.    \TT+                 Turn Translation/filter Table on
  7707.  
  7708.    \TT-                 Turn Translation/filter Table off
  7709.  
  7710.    \TT*                 Toggle Translation/filter Table
  7711.  
  7712.    \TVc[y]              Set variable  c  (0..9,A..z)  to  the  contents  of
  7713.                         secondary/Terminal keyset Macro y (41..110)
  7714.  
  7715.    \UF+                 Usage   log  File  on  (using  default  usage   log
  7716.                         filename)
  7717.  
  7718.    \UF+[filename]       Turn on Usage log File specified by filename
  7719.  
  7720.    \UF-                 Usage log File off
  7721.  
  7722.    \UF*                 Toggle Usage log File
  7723.  
  7724.    \UL[]                UpLoad file, prompting for protocol and filename
  7725.  
  7726.    \ULc[]               UpLoad file using specified protocol c
  7727.  
  7728.    \UL[filename]        UpLoad  specified  file  using  default   protocol,
  7729.                         prompting for confirmation
  7730.  
  7731.    \UL-[filename]       UpLoad  file  using default  protocol  immediately,
  7732.                         bypassing all prompts
  7733.  
  7734.    \ULc[filename]       UpLoad  specified file using protocol c,  prompting
  7735.                         for confirmation
  7736.  
  7737.    \ULc-[filename]      UpLoad  specified file using protocol c,  bypassing
  7738.                         all prompts
  7739.  
  7740.    \UM[string]          Enter Usage Message string into usage log  file (if
  7741.                         usage file is on)
  7742.  
  7743.    \UNstring[macro]     Repeatedly execute macro UNtil string  arrives from
  7744.                         modem
  7745.  
  7746.    \UTxx:yy[macro]      Repeatedly execute macro Until specified  Time (24-
  7747.                         hour notation)
  7748.  
  7749.  
  7750.  
  7751.    5.7:  BOYAN Power--Macros and Script Files                           132
  7752.    ________________________________________________________________________
  7753.  
  7754.  
  7755.  
  7756.  
  7757.    \WF[]                Wait For any character to arrive from modem
  7758.  
  7759.    \WF[string]          Wait For string to arrive from modem
  7760.  
  7761.    \WL                  Wait for new Line
  7762.  
  7763.    \WP[x]               Wait  for  a  Pause  of  x  seconds  in the  remote
  7764.                         system's input
  7765.  
  7766.    \WW+                 Automatic Word-Wrap detection  for  Message Uploads
  7767.                         on
  7768.  
  7769.    \WW-                 Automatic Word-Wrap detection  for  Message Uploads
  7770.                         off
  7771.  
  7772.    \WW*                 Toggle between \WW+ and \WW-
  7773.  
  7774.    \XX+                 Use Xon/Xoff handshaking
  7775.  
  7776.    \XX-                 Do not use Xon/Xoff handshaking
  7777.  
  7778.    \XX*                 Toggle between \XX+ and \XX-
  7779.  
  7780.    \ZS                  Zap (clear) Screen
  7781.  
  7782.    \+Vc[y]              Numerically adds y to the  contents  of  variable c
  7783.                         (0..9,A..Z).
  7784.  
  7785.    \+Vc[-y]             Numerically  subtracts  y  from  the   contents  of
  7786.                         variable c (0..9,A..Z).
  7787.  
  7788.  
  7789.  
  7790.  
  7791.  
  7792.  
  7793.  
  7794.  
  7795.  
  7796.  
  7797.  
  7798.                                   Appendix A
  7799.  
  7800.                       HELP!  Common Questions & Answers
  7801.  
  7802.  
  7803.    A.1  Modem Questions
  7804.  
  7805.  
  7806.    Q. "Why doesn't BOYAN dial my modem properly?"
  7807.    A. BOYAN comes preset for Hayes-style  modems  that dial using the  ATDT
  7808.    command.  If  you have a Hayes but wish to use pulse dialing rather than
  7809.    touch-tone, change this command to ATDP@SF{ .  To set BOYAN  for another
  7810.    kind of modem, consult your modem's manual and set the options in Config
  7811.    Area <M> accordingly.
  7812.  
  7813.    Q. "BOYAN says `dial despite carrier'  every  time I dial, and it always
  7814.    thinks the modem is connected.  Why?"
  7815.    A.  BOYAN  depends  on your modem to give accurate carrier status in the
  7816.    "modem status register."  You may have to  flick  a  toggle  switch (USR
  7817.    Courier) or type a modem command  (Hayes,  section 2.3.2) to get this to
  7818.    work  properly.  As a last resort, try  resetting  the  "Carrier  Detect
  7819.    Mask" in Config Area <E> (see section 3.8).  If your modem simply cannot
  7820.    be made to reflect the carrier signal properly, then you can disable the
  7821.    "dial despite carrier" message by setting option H to NO in  Config Area
  7822.    <E>.
  7823.  
  7824.    Q. "When I start BOYAN, all  of  BOYAN's commands seem to work properly,
  7825.    but I can't get any response from my modem.  What's going on?"
  7826.    A. The most likely problem is that you  have  selected  the  wrong modem
  7827.    serial device (port).  Press <Alt-P> to select a new serial  port (Com1,
  7828.    Com2,  Com3, or Com4).  Com1 is the first standard serial port, which is
  7829.    built-in  on  many  computers.  Com2 is the second port, usually used by
  7830.    internal modems or add-on serial cards.  Com3 and Com4  are non-standard
  7831.    ports which may be used if neither Com1 nor Com2  is  available for your
  7832.    modem.    If  using Com3 or Com4, you MUST explicitly configure the port
  7833.    "addresses" as explained in sections 3.2 and 3.8.
  7834.       The modem might also  appear  "dead"  if  you have configured CTS/RTS
  7835.    flow control ON (in Config Area <E>), when your modem  does  not in fact
  7836.    support CTS/RTS flow control.  In that case, turn flow control OFF.
  7837.       If you have selected the Host Mode's "Local Test" setting, then BOYAN
  7838.    will not send any information to the modem.  Press  <Alt-A>  to select a
  7839.    new  Action Module; the HOST BAM should be used only while the Host Mode
  7840.    script file is running.
  7841.  
  7842.    Q. "How does BOYAN determine the  number  of  data bits and stop bits to
  7843.    use when communicating?"
  7844.  
  7845.  
  7846.  
  7847.    Appendix A:  HELP!  Common Questions & Answers                       134
  7848.    ________________________________________________________________________
  7849.  
  7850.  
  7851.  
  7852.  
  7853.    A. BOYAN automatically uses  8  data bits whenever you select no parity,
  7854.    and  7  data bits with even or odd parity.  1 stop bit is  always  used.
  7855.    These settings should work for any connection.
  7856.  
  7857.    Q. "What can I do if the communications screen seems to `lock up' in the
  7858.    middle of a session?"
  7859.    A. First, try resetting the comm port by pressing <Alt-P>, <Enter>.   If
  7860.    that doesn't work, try pressing <Ctrl-C> or <Ctrl-Q> .  A  final command
  7861.    to try is <Ctrl-End>, which sends a modem break signal.
  7862.  
  7863.  
  7864.    A.2  DOS Questions
  7865.  
  7866.  
  7867.    Q. "BOYAN reports  that  it  doesn't  have  enough memory to Jump to DOS
  7868.    and/or use the scroll-back buffer.  How come?"
  7869.    A. BOYAN divides all available system RAM between the memory  needed for
  7870.    the DOS Shell and the memory  used  to  store scroll-back lines.  If you
  7871.    have  256K or less, you may not have enough memory to use both of  these
  7872.    features.  You can change the way BOYAN partitions your  system's memory
  7873.    in Config Area <S> (see section 3.5).
  7874.  
  7875.    Q. "Do I have to CHDIR into the BOYAN directory before running BOYAN?"
  7876.    A. No, not if your version of MS-DOS is numbered 3.0 or higher.  Suppose
  7877.    the BOYAN files are stored in your C:\BOY5 directory.  You may run BOYAN
  7878.    by simply typing C:\BOY5\BOYAN, no  matter which drive and directory are
  7879.    currently logged.
  7880.  
  7881.    Q. "My mouse isn't working properly with BOYAN."
  7882.    A. First check Configuration Area <S>, option <M> to make sure that "Use
  7883.    mouse if detected" is set  to  YES.    If  it is but BOYAN still doesn't
  7884.    recognize your mouse, you should consult your mouse manual to  make sure
  7885.    your mouse driver is being installed properly, either in your CONFIG.SYS
  7886.    or  AUTOEXEC.BAT file.  If your mouse driver program is old, it may help
  7887.    to acquire a more recent version.  Even if your mouse works in Microsoft
  7888.    Windows(TM) without a driver  installed,  you still do need to install a
  7889.    mouse driver for non-Windows applications such as BOYAN.
  7890.  
  7891.  
  7892.    A.3  BAM Questions
  7893.  
  7894.  
  7895.    Q. "Help, I'm stuck in DOORWAY mode and I can't get out!"
  7896.    A. You must press <Alt-Equals> to leave DOORWAY mode.  All other command
  7897.    key codes, including <F1> and <Alt-X>, are sent directly  to  the  modem
  7898.    instead of being processed by BOYAN.
  7899.  
  7900.  
  7901.  
  7902.    Appendix A:  HELP!  Common Questions & Answers                       135
  7903.    ________________________________________________________________________
  7904.  
  7905.  
  7906.  
  7907.  
  7908.    Q. "When I use VT-100 terminal emulation to  call  up  a  mainframe, the
  7909.    backspace key doesn't work."
  7910.    A. Most mainframes  expect  a  "DEL"  character  instead  of  the normal
  7911.    <Ctrl-H> backspace.  In BOYAN, press the <Del>  key  to  send  the "DEL"
  7912.    character.    You  may  also  swap  the  Backspace  and  Del   keys,  in
  7913.    Configuration Area <A>.
  7914.  
  7915.    Q. "Sometimes, when I select  a terminal emulation, BOYAN's command keys
  7916.    don't work."
  7917.    A. The terminal emulation  BAM's  provide  secondary definitions for all
  7918.    the cursor keys and function keys.  While <Scroll Lock> is locked, these
  7919.    secondary definitions override BOYAN's  normal  key  definitions.   Turn
  7920.    <Scroll Lock> OFF to use BOYAN's regular keyset.
  7921.  
  7922.    Q. "How can I link my computer with a friend's, to chat by modem?"
  7923.    A. One way is to use BOYAN's Host Mode, as described in section 4.8.  An
  7924.    alternative is to call by voice first.  Both of you should press <Alt-A>
  7925.    G  to  select  the "Gossip" BOYAN Action Module.  Also, press <Alt-P> to
  7926.    verify  that  both  you and your friend have selected the same speed and
  7927.    parity parameters.  Finally, one of you should type  ATA  <Enter>  while
  7928.    the other types ATD <Enter>.  After the "CONNECT" messages  appear, hang
  7929.    up  the  (voice) telephone.  You should then be able to  type  back  and
  7930.    forth  to each other or even transfer files if one party uploads and the
  7931.    other downloads.
  7932.  
  7933.  
  7934.    A.4  File Transfer Questions
  7935.  
  7936.  
  7937.    Q. "ASCII uploads are producing garbled results."
  7938.    A.    BOYAN may be sending characters too fast for your  modem  (or  the
  7939.    receiving modem)  to  handle  them.    In  that case, try increasing the
  7940.    Pacing settings in Configuration Area <E>, options <A> and <B>.
  7941.  
  7942.    Q. "When I do a Zmodem  download,  the file size isn't captured properly
  7943.    in the BOYAN.USE usage log."
  7944.    A.  DSZ, the Zmodem driver  program,  logs usage information to the file
  7945.    specified by the DSZLOG environment variable.  To make  DSZ  log  Zmodem
  7946.    transfer  information  to  the   BOYAN.USE   file,   add  the  line  SET
  7947.    DSZLOG=drive:\path\BOYAN.USE to your AUTOEXEC.BAT file.
  7948.  
  7949.  
  7950.  
  7951.    Appendix A:  HELP!  Common Questions & Answers                       136
  7952.    ________________________________________________________________________
  7953.  
  7954.  
  7955.  
  7956.  
  7957.    A.5  Macro Questions
  7958.  
  7959.  
  7960.    Q. "Can I get BOYAN to...
  7961.         ... clear the screen automatically before dialing?"
  7962.         ...  automatically  return  to  the  dialing   directory   after  I
  7963.    disconnect?"
  7964.         ... display the current time of day with a keypress?"
  7965.         ... run my favorite DOS program with the touch of a key?"
  7966.         ... toggle in and out of Gossip Mode by pressing <Alt-G>?"
  7967.    A.    Yes,  using BOYAN's Macro language.  These and many other examples
  7968.    are explained in section 5.3.
  7969.  
  7970.    Q. "I wrote a new BOYAN  start-up  macro  #9 (or any other BOYAN macro),
  7971.    but it's too long to fit in the 80-character space provided."
  7972.    A.  The solution is to break the macro in half.  Save the second half of
  7973.    the macro in an  unused  BOYAN  macro--say,  #60 (the <Ctrl-@> keystroke
  7974.    macro).    Then  save your macro's first half in its normal place, macro
  7975.    #9,  but  append  the  command  \MA[60].    When  the \MA[60] command is
  7976.    reached, macro #60 will be executed, completing your long macro.
  7977.  
  7978.    Q. "Is there any way to restore the original 120 BOYAN Macros?"
  7979.    A.  Just delete the BOYAN.MAC file from your disk before entering BOYAN.
  7980.    When you run BOYAN, the original BOYAN.MAC will be recreated.
  7981.  
  7982.  
  7983.    A.6  Miscellaneous
  7984.  
  7985.  
  7986.    Q. "BOYAN came  packaged with my brand-new $200 modem.  Why do I have to
  7987.    pay any more to use it?"
  7988.    A.  BOYAN Communications  receives  absolutely  no compensation from the
  7989.    modem manufacturers.  Please see section 1.2 for  information  about the
  7990.    ShareWare system.
  7991.  
  7992.    Q. "How can I find out about new terminal emulations,  enhancements, and
  7993.    upgrades to BOYAN 5?"
  7994.    A.    The  BOYAN Support BBS always carries the latest version of BOYAN,
  7995.    including the most recent Action Modules, script files, etc.  Registered
  7996.    users will be notified about major upgrades by mail.
  7997.  
  7998.    Q. "What if I like  BOYAN  but  need  specific  changes?  Can I have the
  7999.    welcome screen customized for my corporation?"
  8000.    A. Although BOYAN's source code is not available, we will gladly  try to
  8001.    incorporate  specific  changes  for  out-of-the-ordinary  communications
  8002.    needs.  A customized welcome screen is available to any corporation that
  8003.    licenses seven or more copies of BOYAN, as described in section 1.2.2.
  8004.  
  8005.  
  8006.  
  8007.  
  8008.  
  8009.  
  8010.  
  8011.  
  8012.  
  8013.  
  8014.  
  8015.                                   Appendix B
  8016.  
  8017.                              BOYAN Error Messages
  8018.  
  8019.  
  8020.     - "BOYAN cannot fit in the available memory!"  In  this  case,  perhaps
  8021.       you can make more room for BOYAN by rebooting without  installing any
  8022.       memory-resident programs.  BOYAN has minimal memory  requirements, so
  8023.       this condition should be rare.
  8024.  
  8025.     - "Com1 not ready! Use Com2?", etc.    If BOYAN detects a problem while
  8026.       initializing the serial port, it will give you the chance  to specify
  8027.       a  different  port  before entering the program.  Press N to go ahead
  8028.       and  try  to use the port which is not ready, or press Y to  use  the
  8029.       alternate port BOYAN offers.
  8030.  
  8031.     - "Endless loop."   Because of memory limitations, recursive nesting in
  8032.       a macro or script cannot exceed approximately 20 levels of depth.  If
  8033.       it  ever  does,  BOYAN reports this error message.  In a script, this
  8034.       message might indicate that  you  have  used  the \BL[..] (call block
  8035.       recursively) command where you should  have  used  the  \GB[..] (Goto
  8036.       Block) command.
  8037.  
  8038.     - "No memory for DOS Shell!"  This message probably means that you have
  8039.       run BOYAN  from  within  too  small a DOS shell.  For a discussion of
  8040.       BOYAN's memory handling, please see section 3.5.
  8041.  
  8042.     - "Overlay not found!",  "BOYAN.HLP  not found!", or "Couldn't load any
  8043.       Action  Module!"    These  errors  will occur if the necessary  BOYAN
  8044.       auxiliary files are not located in the current DOS directory.
  8045.  
  8046.     - "Serious module malfunction."  This  ominous  message  indicates that
  8047.       the BAM file you chose is not a valid Action Module for BOYAN 5.
  8048.  
  8049.     - "Unable to create BOYAN.FON!", "Unable to create BOYAN.MAC!", "Unable
  8050.       to create BOYAN.CNF!"  Probable causes of these  messages  are either
  8051.       1) Your disk is  write-protected,  or  2) Your  disk  is  full.   The
  8052.       required BOYAN  files  will  fit  on  a  single diskette with room to
  8053.       spare.
  8054.  
  8055.     - "Unknown variable %XY", "Unknown command  \XY",  "\XY  command syntax
  8056.       error", "\XY expects +,-,or *".  The macro  command  compiler reports
  8057.       these basic error conditions.  Macro processing stops  after  such an
  8058.       error.
  8059.  
  8060.  
  8061.  
  8062.  
  8063.  
  8064.  
  8065.  
  8066.  
  8067.  
  8068.  
  8069.  
  8070.                                   Appendix C
  8071.  
  8072.                            Glossary of BOYAN Terms
  8073.  
  8074.  
  8075.    The   following  few  definitions--some  standard  "computerese",   some
  8076.    specific  to the BOYAN program--will be useful as  you  start  out  with
  8077.    BOYAN:
  8078.  
  8079.    Action Module        general  name  for  files  telling  BOYAN  "how  to
  8080.                         act"--how to interpret what you  type,  and  how to
  8081.                         interpret what the remote system sends back.  There
  8082.                         is exactly one Action Module active  at  all times.
  8083.                         Terminal emulations, gossip mode, and host mode are
  8084.                         all examples of BOYAN Action Modules.  BOYAN stores
  8085.                         its Action Modules in files with the ".BAM" suffix.
  8086.  
  8087.    carrier signal       the signal that your  modem  should  send  to BOYAN
  8088.                         whenever it is connected to another  system.   Also
  8089.                         called the CD (Carrier Detect) signal.
  8090.  
  8091.    default              the value something  gets if you don't specifically
  8092.                         change it.  For example,  the  first  time  you run
  8093.                         BOYAN, all options are set to their default values.
  8094.                         Similarly, at most  BOYAN prompts, BOYAN provides a
  8095.                         default answer  which  you  may  select  by  simply
  8096.                         pressing  <Enter> or  clicking  your  mouse's  left
  8097.                         button.
  8098.  
  8099.    downloading          receiving a DOS file from  the  remote  system, via
  8100.                         your modem.
  8101.  
  8102.    keyset               the keyboard's function keys and cursor keys, along
  8103.                         with  the  BOYAN   commands  they  perform.    Many
  8104.                         terminal emulations have a "secondary keyset" which
  8105.                         allows those keys to act as special  terminal keys,
  8106.                         as well as normal BOYAN command keys.
  8107.  
  8108.    macro                a  line  of  BOYAN instructions.  If  you  know  in
  8109.                         advance what you want BOYAN to do, you can put your
  8110.                         instructions into a macro, and then run  that macro
  8111.                         later with a single  keystroke.    BOYAN's powerful
  8112.                         macro   language  is  the  key  to  its   unmatched
  8113.                         flexibility.
  8114.  
  8115.  
  8116.  
  8117.    Appendix C:  Glossary of BOYAN Terms                                 139
  8118.    ________________________________________________________________________
  8119.  
  8120.  
  8121.  
  8122.  
  8123.    overlay              the BOYAN.000 through BOYAN.006 files on your BOYAN
  8124.                         disk.  Never remove the disk containing these files
  8125.                         while BOYAN is running.
  8126.  
  8127.    protocol             any  of  the methods available  for  uploading  and
  8128.                         downloading  files.  The best protocols use  error-
  8129.                         checking to guarantee file integrity without sacri-
  8130.                         ficing transmission speed.  Some protocols, such as
  8131.                         Zmodem and  Kermit,  are  "external,"  meaning they
  8132.                         require  a  supplemental program on  your  disk  in
  8133.                         order to work with BOYAN.
  8134.  
  8135.    remote system        who's on the other  end  of  the  modem connection.
  8136.                         Databases  and bulletin board systems are  examples
  8137.                         of remote systems.
  8138.  
  8139.    script file          a text  file consisting of multiple macros.  If you
  8140.                         plan  carefully,  a  script  file  can  be  used to
  8141.                         automate complex communications  chores,  even when
  8142.                         the computer is unattended.  BOYAN script filenames
  8143.                         have a suffix of ".BSC".
  8144.  
  8145.    terminal emulation   Mainframe computers normally  expect to be used via
  8146.                         special  "smart  terminals,"  which  interpret  the
  8147.                         mainframe's  display output, and also send  special
  8148.                         key sequences back.   BOYAN's emulations allow your
  8149.                         computer to mimic such a terminal.
  8150.  
  8151.    terminal mode        BOYAN's normal mode of operation, in which all text
  8152.                         arriving  from  the  modem  is  displayed  on  your
  8153.                         screen, and all keys you  press  (except  for BOYAN
  8154.                         commands) are sent out over the  modem.   Sometimes
  8155.                         this is also called BOYAN's  "Communications ready"
  8156.                         screen.
  8157.  
  8158.    uploading            sending a DOS  file  to the remote system, via your
  8159.                         modem.
  8160.  
  8161.  
  8162.  
  8163.  
  8164.  
  8165.  
  8166.  
  8167.  
  8168.  
  8169.  
  8170.  
  8171.                                   Appendix D
  8172.  
  8173.                          The VT-100 Secondary Keyset
  8174.  
  8175.  
  8176.    D.1  Default Key Layout
  8177.  
  8178.  
  8179.    When using any terminal emulation,  you must press the <Scroll-Lock> key
  8180.    to activate its "secondary keyset."  The Status Line  displays  a  small
  8181.     2 
  8182.        to indicate that the secondary keyset is in use.
  8183.  
  8184.    BOYAN's VT-100  keyset  is  tailored  to  the  Emacs editor used on most
  8185.    mainframes.  When <Scroll-Lock> is locked, the following key definitions
  8186.    take effect:
  8187.  
  8188.    BOYAN Key       EMACS Function        BOYAN Key      EMACS Function
  8189.    <Left-Arrow>    left 1 character      <Ctrl-Left>    left 1 word
  8190.    <Right-Arrow>   right 1 character     <Ctrl-Right>   right 1 word
  8191.    <Up-Arrow>      up 1 line
  8192.    <Down-Arrow>    down 1 line           <Ins>          toggle insert mode
  8193.  
  8194.    <Home>          to start of line      <F3>           set mark
  8195.    <End>           to end of line        <F4>           copy region
  8196.    <PgUp>          scroll back 1 page    <F5>           delete region
  8197.    <PgDn>          scroll fwd 1 page     <F6>           yank region
  8198.  
  8199.    <Ctrl-Home>     to start of buffer    <F9>           scroll up 1 line
  8200.    <Ctrl-End>      to end of buffer      <F10>          scroll down 1 line
  8201.    <Ctrl-PgUp>     PgUp other window     <Ctrl-F9>      F9 other window
  8202.    <Ctrl-PgDn>     PgDn other window     <Ctrl-F10>     F10 other window
  8203.  
  8204.    The secondary keyset  also  makes  use  of the IBM-PC's function keys to
  8205.    emulate the VT-100's numeric  keypad.    The following chart illustrates
  8206.    how your 10 Alt-function keys and 10 Shift-function  keys  correspond to
  8207.    the 18 keys of the VT-100 keypad:
  8208.  
  8209.  
  8210.  
  8211.    Appendix D:  The VT-100 Secondary Keyset                             141
  8212.    ________________________________________________________________________
  8213.  
  8214.  
  8215.  
  8216.  
  8217.                 BOYAN Function Keys              VT-100 Keypad
  8218.  
  8219.         <AF1> - <AF10> <SF1> - <SF10>
  8220.          +----+ +----+  +----+ +----+     +----+ +----+ +----+ +----+
  8221.          |PF1 | |PF2 |  |PF3 | |PF4 |     |PF1 | |PF2 | |PF3 | |PF4 |
  8222.          +----+ +----+  +----+ +----+     +----+ +----+ +----+ +----+
  8223.          +----+ +----+  +----+ +----+     +----+ +----+ +----+ +----+
  8224.          | 7  | | 8  |  | 9  | | -  |     | 7  | | 8  | | 9  | | -  |
  8225.          +----+ +----+  +----+ +----+     +----+ +----+ +----+ +----+
  8226.          +----+ +----+  +----+ +----+     +----+ +----+ +----+ +----+
  8227.          | 4  | | 5  |  | 6  | | ,  |     | 4  | | 5  | | 6  | | ,  |
  8228.          +----+ +----+  +----+ +----+     +----+ +----+ +----+ +----+
  8229.          +----+ +----+  +----+ +----+     +----+ +----+ +----+ +----+
  8230.          | 1  | | 2  |  | 3  | |ENT |     | 1  | | 2  | | 3  | |    |
  8231.          +----+ +----+  +----+ +----+     +----+ +----+ +----+ |  E |
  8232.          +----+ +----+  +----+ +----+     +-----------+ +----+ |  N |
  8233.          | 0  | | 0  |  | .  | |ENT |     |     0     | | .  | |  T |
  8234.          +----+ +----+  +----+ +----+     +-----------+ +----+ +----+
  8235.  
  8236.  
  8237.    D.2  Customization
  8238.  
  8239.  
  8240.    The standard mapping of the function keys may be modified in any way you
  8241.    find convenient.  Here's how to customize the VT-100 secondary keyset:
  8242.  
  8243.       1.  Type <Alt-C> A to enter Configuration Area <A>:  Action Modules.
  8244.  
  8245.       2.  Type  C 1 to select VT-100 as the current action module, if it is
  8246.           not already current.
  8247.  
  8248.       3.  Press E to begin  editing  the VT-100 secondary keyset.  You will
  8249.           be  presented  with  a menu of the  70  user-definable  keystroke
  8250.           macros, separated into seven ranges of ten macros each.
  8251.  
  8252.       4.  Press the key which you want to re-assign, e.g.  <Alt-F1>.    (If
  8253.           you  prefer,  you  may first press a letter from E-J to display a
  8254.           range of ten keystroke macros, and then select the key to  be re-
  8255.           assigned.)
  8256.  
  8257.       5.  In the table below, look up  the  VT-100 key which you would like
  8258.           to bind to Alt-<F1> (or whatever  key  you have chosen).  Type in
  8259.           the BOYAN macro associated with that VT-100 key, exactly as shown
  8260.           in  the table, and press <Enter>.  Your  new  key  assignment  is
  8261.           saved to the VT-100.CNF file on disk.
  8262.  
  8263.       6.  Repeat  these  last  two  steps  until  the  secondary keyset  is
  8264.           arranged precisely to your liking!
  8265.  
  8266.  
  8267.  
  8268.    Appendix D:  The VT-100 Secondary Keyset                             142
  8269.    ________________________________________________________________________
  8270.  
  8271.  
  8272.  
  8273.  
  8274.    VT-100 Key      BOYAN Macro        VT-100 Key     BOYAN Macro
  8275.    <PF1>-Gold         ^[OP            Keypad 0          ^[Op
  8276.    <PF2>-Help         ^[OQ            Keypad 1          ^[Oq
  8277.    <PF3>-Next         ^[OR            Keypad 2          ^[Or
  8278.    <PF4>-DelBrk       ^[OS            Keypad 3          ^[Os
  8279.                                       Keypad 4          ^[Ot
  8280.    <Up-Arrow>         ^[[A            Keypad 5          ^[Ou
  8281.    <Down-Arrow>       ^[[B            Keypad 6          ^[Ov
  8282.    <Right-Arrow>      ^[[C            Keypad 7          ^[Ow
  8283.    <Left-Arrow>       ^[[D            Keypad 8          ^[Ox
  8284.                                       Keypad 9          ^[Oy
  8285.    Backspace DEL      \CH[127]        Keypad -          ^[Om
  8286.    Keypad <Enter>     ^[OM            Keypad ,          ^[Ol
  8287.                                       Keypad .          ^[On
  8288.  
  8289.  
  8290.  
  8291.  
  8292.  
  8293.  
  8294.  
  8295.  
  8296.  
  8297.  
  8298.  
  8299.  
  8300.  
  8301.  
  8302.  
  8303.                                     Index
  8304.  
  8305.  
  8306.     16550AN UART 84                      Alt-T 40
  8307.     43-line mode 40                      Alt-U 61
  8308.     \\ macro comment 100                 Alt-V 65, 105
  8309.     \+V macro command 100                Alt-W 65, 105
  8310.     @ variable prefix 116                Alt-X 40
  8311.     1K-Xmodem 55                         Alt-Y 65
  8312.                                          Alt-Z 41
  8313.     A                                    alternate dialing command 19, 30
  8314.     \AB macro command 100                \AM macro command 84
  8315.     Action Module 33, 52, 138            %AM macro variable 84
  8316.        default 33                        %AN macro variable 84
  8317.     \AD macro command 88                 %AP macro variable 84
  8318.     address 7                            arithmetic 100
  8319.     ADM-3A 53                            ASCII 56
  8320.     \AF macro command 94                 \AT macro command 100
  8321.     \AL macro command 90                 %AU macro command 96
  8322.     alarm 51                             %AU macro variable 96
  8323.        level 20                          auto-downloading 38, 57
  8324.     Alt-Equals 52                           default 25
  8325.     Alt-A 52                                macro 32
  8326.     Alt-B 40                             Auto-find transfer filename 25
  8327.     Alt-C 16                             AUTOEXEC.BAT 135
  8328.     Alt-D 41, 108                        \AV macro command 91
  8329.     Alt-E 40
  8330.     Alt-F 61                             B
  8331.     Alt-F1 39                            \B8 macro command 84
  8332.     Alt-F10 104                          %B8 macro variable 84
  8333.     Alt-G 40                             %B: macro variable 94
  8334.     Alt-H 49                             Backspace 34, 78
  8335.     Alt-I 73                             Backspace Editor 78
  8336.     Alt-J 64                             BAM See: Action Module
  8337.     Alt-K 32                             Basic Commands 39
  8338.     Alt-L 60, 105                        batch transfers 57
  8339.     Alt-M 71                             \BB macro command 91
  8340.     Alt-N 65, 104                        \BC macro command 85
  8341.     Alt-O 40                             \BD macro command 84
  8342.     Alt-P 49                             %BD macro variable 84
  8343.     Alt-Q 50                             Beeps & Bells 40
  8344.     Alt-R 66, 105                           default 20
  8345.     Alt-S 60                             Bimodem 56
  8346.  
  8347.  
  8348.  
  8349.    Index                                                                144
  8350.    ________________________________________________________________________
  8351.  
  8352.  
  8353.  
  8354.  
  8355.     \BL script command 111               configuration 16
  8356.     BOYAN Action Module  See: Action        dialing 30, 133
  8357.        Module                               disk 21
  8358.     BOYAN.CNF 11                            expert communications 26
  8359.     BOYAN Commands 39                       file transfers 21
  8360.     BOYAN.FON 11, 22                        Hayes modem 12
  8361.     BOYAN.LOG 23                            macros 28
  8362.     BOYAN.MAC 11, 104, 136                  memory 134
  8363.     BOYAN.PWD 11                            modem 24
  8364.     BOYAN Support BBS 7                     Practical  Peripherals  modem
  8365.     BOYAN.USE 23, 61                        12
  8366.     break signal 52, 84, 134                screen 19
  8367.     \BU macro command 84                    USR Courier HST modem 18
  8368.     %BU macro variable 84                CONTROL Action Module 53
  8369.     bulk discounts 5                     control characters 28
  8370.     Bulletin Board Systems 53            copying files 63
  8371.     \BW macro command 85                 Copyright 4
  8372.                                          Corporate Licenses 5
  8373.     C                                    \CP macro command 83
  8374.     %C: macro variable 94                CRC-Xmodem 55
  8375.     \CA macro command 82                 credit card orders 5
  8376.     Call Data Standard 61                \CS macro command 83
  8377.     Call Waiting 49                      \CT macro command 85
  8378.     carrier signal 11, 26, 133, 138      Ctrl-Backspace 78
  8379.     \CB macro command 102                Ctrl-End 52
  8380.     \CC macro command 88                 Ctrl-LeftArrow 78
  8381.     \CD macro command 83                 Ctrl-PgUp 62, 64
  8382.     Centrex 48                           Ctrl-PrtSc 61
  8383.     \CF macro command 94                 Ctrl-RightArrow 78
  8384.     \CH macro command 83                 CTS/RTS flow control 26, 133
  8385.     change parameters 49                 customizing BOYAN 16
  8386.     character pacing 26                  cycle dialing 31, 42
  8387.     chat mode 54
  8388.     CIS.BSC 114                          D
  8389.     clear screen 41                      %D: macro variable 96
  8390.     \CM macro command 83                 %DA macro variable 86
  8391.     \CO macro command 88                 data bits 50, 133
  8392.     colors 20, 40                        \DC macro command 94
  8393.        customizing 20                    \DD macro command 83
  8394.     Com3 port 27                         dedicated printing 54
  8395.     Com4 port 28                         default 138
  8396.     command line 110                     DEL character 34, 52
  8397.     Command Menu 13, 39, 102             Del key 34, 52
  8398.     comment                              deleting files 63
  8399.        macro 100                         DesqView 12
  8400.     COMMENTS.HOS 74, 76                  \DI macro command 88
  8401.     CompuServe 24, 46, 114               dial despite carrier 27, 133
  8402.        file transfer 57                  dialing 41
  8403.     conclude macro 31                       cycle 31
  8404.  
  8405.  
  8406.  
  8407.    Index                                                                145
  8408.    ________________________________________________________________________
  8409.  
  8410.  
  8411.  
  8412.  
  8413.        modem command 30, 48, 133         emulation      See:     terminal
  8414.           alternate 19, 30, 45              emulation
  8415.     dialing directory 49                 error messages 137
  8416.        alphabetizing 44                  Esc key 13
  8417.        baud rate fill 44                 Escape character 28
  8418.        codes 42                          ETCH.BSC 114
  8419.        deleting 44                       Everfax modems 31
  8420.        edit entry 45                     \EX macro command 102
  8421.        exchange 48                       exiting BOYAN 40, 102
  8422.        file ASCII copy 23, 46
  8423.        grab # feature 46                 F
  8424.        locate 47                         %F: macro variable 88
  8425.        multiple 47                       \FC macro command 85
  8426.        print 47                          \FD macro command 88
  8427.     Disclaimer 7                         %FD macro variable 88
  8428.     disk logging 23, 60                  \FE macro command 95
  8429.     distribution                         file listing 65
  8430.        ShareWare 6                       The File Manager 61
  8431.     \DL macro command 96                    sorting 22
  8432.     \DM macro command 91                 file size information 63
  8433.     %DM macro variable 91                file transfer 55
  8434.     \DMC macro command 91                   auto-find filename 25, 57
  8435.     %DN macro variable 93                   batch 56
  8436.     DOORWAY.EXE 72, 74                      downloading 59
  8437.     DOORWAY Module 54                          directory 22
  8438.     DOS shell 21, 41, 64, 65                efficiency 60
  8439.     downloading 138, See  Also: file        protocols 139
  8440.        transfer                                1K-Xmodem 55
  8441.     \DP macro command 97                       ASCII 56
  8442.     %DP macro variable 97                      batch-Ymodem 56
  8443.     %DR macro variable 95                      Bimodem 56
  8444.     %DS macro variable 95                      Compuserve-B 57
  8445.     DSZLOG environment variable 135            CRC-Xmodem 55
  8446.     \DT macro command 83                       default 25, 46, 58, 59, 97
  8447.     DTR signal 11, 26                          external 36, 56
  8448.     DUMBTERM 54                                G-Ymodem 56
  8449.     duplex toggle 40                           Kermit 56, 57
  8450.     \DV macro command 98                       Megalink 57
  8451.                                                MPt 57
  8452.     E                                          Relaxed Xmodem 55
  8453.     \EB script command 111                     Sealink 57
  8454.     \EC macro command 85                       Xmodem 55
  8455.     %EC macro variable 85                      Ymodem 55
  8456.     echo keyboard 40                           Ymodem-batch 57
  8457.        default 24                              Zmodem 56, 57
  8458.     editing files 22, 64, 65                uploading 58, 64
  8459.     elapsed-time clock 13                      directory 22
  8460.     \EM macro command 100                      message 58
  8461.     Emacs editor 55, 140                 file viewing 22
  8462.  
  8463.  
  8464.  
  8465.    Index                                                                146
  8466.    ________________________________________________________________________
  8467.  
  8468.  
  8469.  
  8470.  
  8471.     \FM macro command 95                 %IK macro variable 101
  8472.     FON files 47                         %IM macro variable 101
  8473.        selection 63                      initialization string 31
  8474.     free disk space 25, 64, 65           Ins key 65
  8475.     \FS macro command 95                 installation 9
  8476.     Function Key Customization 32        Intel modems 19
  8477.     function key menu 39                 \IP macro command 97
  8478.     \FW macro command 85                 IRQ line 28, 83
  8479.                                          \IS macro command 89
  8480.     G                                    \IT macro command 97
  8481.     G-Ymodem 56                          \IV macro command 99
  8482.     \GB script command 111               \IW macro command 87
  8483.     \GL macro command 91
  8484.     %GL macro variable 91                J
  8485.     Glossary 138                         \JD macro command 95
  8486.     gossip mode 54, 109                  jump to DOS 21, 41, 64
  8487.     grab phone # feature 46
  8488.     graphics symbols 35                  K
  8489.     \GS script command 112               Kermit 57
  8490.     \GV macro command 98                 keyboard timeout 27
  8491.     \GX macro command 91                 keyset 138
  8492.     \GY macro command 91                 \KO macro command 112
  8493.                                          \KS macro command 92
  8494.     H                                    \KV macro command 99
  8495.     handshaking 26
  8496.     hanging up 30, 49                    L
  8497.     \HE macro command 102                %LC macro variable 96
  8498.     help screens 13                      \LD macro command 93
  8499.     High-Speed Modem 18                  %LD macro variable 93
  8500.     \HK macro command 102                Learn (Script) See: Script Learn
  8501.     HOST.BSC 114                            Facility
  8502.     Host Mode 71                         LeftArrow 78
  8503.        configuration 34                  \LF macro command 85
  8504.     HOST.USE 76                          %LF macro variable 85
  8505.     How to Order 5                       Licensing 4
  8506.     %HR macro variable 86                Line Editor 14
  8507.     \HU macro command 83                 line format 50
  8508.                                          Line pacing 26
  8509.     I                                    linefeeds 41
  8510.     IBM-3101 53                             default 25
  8511.     IBM PS/2                             LIST 22
  8512.        Com3 27                           \LM macro command 93
  8513.        Com4 28                           %LN macro variable 93
  8514.     \IE macro command 101                logon password 21, 46
  8515.     \IF macro command 86                 LOGON script block 112
  8516.     \II macro command 101                Long-Distance  Dialing  Prefixes
  8517.     %II macro variable 101                  48
  8518.     \IK macro command 101                \LV macro command 99
  8519.  
  8520.  
  8521.  
  8522.    Index                                                                147
  8523.    ________________________________________________________________________
  8524.  
  8525.  
  8526.  
  8527.  
  8528.     M                                    Mouse click macro 31
  8529.     \MA macro command 101                mouse interface 13, 21, 43,  51,
  8530.     %MA macro variable 83                   63, 67
  8531.     macro 28, 71, 138                    MPt protocol 57
  8532.        basic form 28
  8533.        Shortcut 30, 48                   N
  8534.        variables 117                     \NC macro command 92
  8535.     macro commands                       %NC macro variable 92
  8536.        dialing 88                        \ND macro command 96
  8537.        DOS 94                            new drive/directory 63, 65
  8538.        file transfers 96                 \NK macro command 103
  8539.        modem 82                          %NK macro variable 103
  8540.        pausing 86                        null modem 72
  8541.        queue 89                          Num-Lock 103
  8542.        repeat 102                        NUMBERS.TXT 23
  8543.        screen 90
  8544.        summary 120                       O
  8545.        terminal 84                       order form 5
  8546.        timing 86                         overlay 139
  8547.        trace 103
  8548.        user variables 98                 P
  8549.     Macro    Programming    Language     %P: macro variable 97
  8550.        80-103                            \PA macro command 86
  8551.     Manual Dialing 41                    pacing 135
  8552.     \MC macro command 92                    character 26
  8553.     %MC macro variable 92                   line 26
  8554.     %MD macro variable 83                parameter change 30, 49
  8555.     Megalink 57                          password 46
  8556.     memory usage 21                         default 21
  8557.     menus                                Password Security Feature 70
  8558.        user-defined 92                   PCBOARD.BSC 114
  8559.     Message Upload 56                    PgDn 59
  8560.     %MI macro variable 86                PgUp 58
  8561.     Microsoft Windows 12                 phone call log 61
  8562.     missing characters 19                phone order line 5
  8563.     %MN macro variable 83                PKUNZIP 75
  8564.     MNP 56                               \PL macro command 83
  8565.        configuration 19                  \PM macro command 93
  8566.     %MO macro variable 86                \PP macro command 93
  8567.     modem  break  signal  See: break     \PR macro command 93
  8568.        signal                            %PR macro variable 93
  8569.     modem messages 24                    Practical Peripherals 19
  8570.     modem settings 49                    print screen 61
  8571.        parity 11, 24                     printer
  8572.        port 11, 24                          dialing directory 47
  8573.           Com3 27                           init macro 32
  8574.           Com4 28                           logging 61
  8575.        speed 11, 24                         scroll-back buffer 67
  8576.     Modem Setup 11                       printing files 63
  8577.  
  8578.  
  8579.  
  8580.    Index                                                                148
  8581.    ________________________________________________________________________
  8582.  
  8583.  
  8584.  
  8585.  
  8586.     protocol See: file transfer             examples 114
  8587.     Protocol disk 18                        logon 112
  8588.     \PS macro command 93                    running 63, 66, 113
  8589.     \PU macro command 86                 Script Learn Facility 68
  8590.     pulse dialing 17                        Quick-learn 68
  8591.     purchase orders 6                    SCRNDUMP.TXT 23
  8592.     %PW macro variable 89                scroll-back buffer 21, 23, 66
  8593.     PWD file 46                          Scroll-Lock 53, 102
  8594.                                          %SE macro variable 86
  8595.     Q                                    SEAlink 57
  8596.     Q-time 50                            secondary keyset 13, 53
  8597.     \QA macro command 89                 Session Logging 60
  8598.     \QC macro command 90                 %SF macro variable 89
  8599.     \QD macro command 90                 ShareWare 6
  8600.     \QE macro command 90                    distributors 6
  8601.     %QS macro variable 90                Shift-PrtSc 61
  8602.     \QU macro command 90                 Shift-Tab 41
  8603.     Questions & Answers 133              shipping 5
  8604.     queue redialer 50                    Shortcut macros 30, 48
  8605.     Quick-learn script 68                site licenses 5
  8606.     Quick Reference Card 5               \SK macro command 102
  8607.                                          %SK macro variable 102
  8608.     R                                    \SL macro command 86
  8609.     RAM-resident programs 19             %SL macro variable 89
  8610.     \RB macro command 102                \SM macro command 103
  8611.     \RC macro command 92                 \SN macro command 92
  8612.     \RE macro command 102                %SN macro variable 89
  8613.     registration 4                       sound effects 20, 40
  8614.     Relaxed Xmodem 55                    \SP macro command 86
  8615.     remote system 139                    \SS macro command 93
  8616.     renaming files 64                    %SS macro variable 89
  8617.     Restore Default Text Color 40        \ST macro command 92
  8618.     <Return> character 29                start-up 11
  8619.     RightArrow 78                        start-up macro 31
  8620.     \RV macro command 99                 Status Line 12
  8621.     \RX macro command 92                 stop bits 50, 133
  8622.     \RY macro command 92                 strip 8th bit 36
  8623.                                          Support 7
  8624.     S                                    \SV macro command 100
  8625.     %S# macro variable 89                system requirements 9
  8626.     %S: macro variable 112                  memory 21
  8627.     \SB macro command 84
  8628.     %SC macro variable 112               T
  8629.     \SC script command 112               %T: macro variable 97
  8630.     SCRBACK.LOG 23                       Tab key 114
  8631.     screen dump 23, 60                   Tandy computers 53
  8632.     script files 111, 139                TCOMM.BSC 114
  8633.        blocks 111                        TED 22
  8634.        directory 23
  8635.  
  8636.  
  8637.  
  8638.    Index                                                                149
  8639.    ________________________________________________________________________
  8640.  
  8641.  
  8642.  
  8643.  
  8644.     terminal emulation 34, 53, 139       V
  8645.        secondary keyset 13, 53           %V0 macro variable 98
  8646.        VT-100 54, 140                    variables
  8647.     terminal keyset 53                      @ vs. % prefixes 116
  8648.     terminal mode 12, 139                   summary 117
  8649.     %TF macro variable 97                VARS.BSC 115
  8650.     %TI macro variable 97                viewing files 22, 64, 65
  8651.     timeout                              VT-52 53
  8652.        default 27                        VT-100 action module 54, 140
  8653.     \TM macro command 103
  8654.     \TO macro command 87                 W
  8655.     \TR macro command 103                %WC macro variable 96
  8656.     trace mode 103                       welcome screen 11
  8657.     translation table 40                    customization 6
  8658.     \TT macro command 85                 \WF macro command 87
  8659.     %TT macro variable 85                Windows 12
  8660.     \TV macro command 100                \WL macro command 87
  8661.     TVI-925 53                           word length 24
  8662.     typography 7                         word processor 22, 65
  8663.                                          word wrap auto-detection 25, 59
  8664.     U                                    \WP macro command 87
  8665.     %U: macro variable 96                *WRAPUP block 114
  8666.     UART                                 \WW macro command 98
  8667.        16550AN 84
  8668.     %UD macro variable 98                X
  8669.     \UF macro command 94                 Xmodem 55
  8670.     %UF macro variable 94                XON/XOFF flow control 26
  8671.     \UL macro command 98                 %XP macro variable 92
  8672.     \UM macro command 94                 \XX macro command 85
  8673.     \UN macro command 87
  8674.     %UN macro variable 94                Y
  8675.     unattended 114                       Ymodem 55
  8676.     Uniform Dialing Prefixes 48          Ymodem-batch 57
  8677.     Unix 55                              %YP macro variable 92
  8678.     UpArrow 66                           %YR macro variable 86
  8679.     uploading  139,  See  Also: file
  8680.        transfer                          Z
  8681.     usage log file 23, 61                zap screen 41
  8682.        macros 94                         ZIP files 9, 75, 109
  8683.        Zmodem transfers 135              Zmodem 57
  8684.     Users Groups 6                          usage log 135
  8685.     USR Courier HST 18                   \ZS macro command 93
  8686.     \UT macro command 86
  8687.  
  8688.  
  8689.  
  8690.  
  8691.  
  8692.  
  8693.  
  8694.  
  8695.  
  8696.                                About the Author
  8697.  
  8698.  
  8699.         Justin Boyan  was born in 1970 in State College, Pennsylvania.
  8700.         He grew up  in  Columbia, Maryland, where his favorite hobbies
  8701.         were   swimming,  playing  the  piano,  and  later,   computer
  8702.         programming.    His  interest  in  computers  began   when  he
  8703.         discovered his school's TRS-80  in  the  sixth grade ("I loved
  8704.         working with it, except for the time I accidentally blew  up a
  8705.         disk  drive").  He taught himself  BASIC,  and  later  learned
  8706.         Pascal as a  student  at Johns Hopkins University's Center for
  8707.         Talented Youth summer program.   Since age 16, he has returned
  8708.         to CTY each summer  as  a  member  of the mathematics teaching
  8709.         staff.  In 1987, he graduated first in his class  from Oakland
  8710.         Mills High School, where he was on the Math Team, Tennis Team,
  8711.         and state champion Computer Team.
  8712.  
  8713.         BOYAN Communications was  conceived  when  Justin  was  in the
  8714.         ninth grade, shortly after his  family acquired a modem.  With
  8715.         a vision  of what the "ideal communications software" would be
  8716.         and  the  encouragment  of  several  local  Sysops,  he  began
  8717.         creating  the  program.    BOYAN  version  1  was released  as
  8718.         ShareWare in October 1986.  Further revisions were released in
  8719.         1987 and 1989,  as  he continued perfecting the program during
  8720.         college.
  8721.  
  8722.         In  1991,  he  received  his  Bachelor  of  Science degree  in
  8723.         mathematics from the  University of Chicago.  His honors there
  8724.         included  election  to  Phi  Beta Kappa and the Cohen Memorial
  8725.         Prize for highest academic record in the field of mathematics.
  8726.         He also moonlighted as pianist for the campus  comedy  troupe.
  8727.         For the 1991-92 academic year, he has been awarded the Winston
  8728.         Churchill Scholarship  for  study  at Cambridge, where he will
  8729.         earn an M. Phil. in Computer Speech and  Language  Processing.
  8730.         He will continue his education  at Carnegie Mellon University,
  8731.         working toward a Ph.D. in Computer Science.
  8732.  
  8733.